Silence unused-variable warning (#2872)
[ExpressLRS.git] / src / lib / MAVLink / MAVLink.h
blob577fbecd585a62f415ec6f7f0aaef6a321f27034
1 #include "CRSF.h"
2 #if !defined(PLATFORM_STM32)
3 #define MAVLINK_COMM_NUM_BUFFERS 1
4 #include "common/mavlink.h"
5 #endif
6 #include <CRSFHandset.h>
8 // Takes a MAVLink message wrapped in CRSF and possibly converts it to a CRSF telemetry message
9 void convert_mavlink_to_crsf_telem(uint8_t *CRSFinBuffer, uint8_t count, Handset *handset);
11 bool isThisAMavPacket(uint8_t *buffer, uint16_t bufferSize);
12 uint16_t buildMAVLinkELRSModeChange(uint8_t mode, uint8_t *buffer);