2 #if !defined(PLATFORM_STM32)
3 #define MAVLINK_COMM_NUM_BUFFERS 1
4 #include "common/mavlink.h"
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
);