optimise mavlink SS packet size (#3029)
[ExpressLRS.git] / src / lib / MAVLink / MAVLink.h
blobdbf139d8b98714c90862e63b40123f7d8b12babc
1 #include "CRSF.h"
2 #define MAVLINK_COMM_NUM_BUFFERS 1
3 #include "common/mavlink.h"
4 #include <CRSFHandset.h>
6 // Takes a MAVLink message wrapped in CRSF and possibly converts it to a CRSF telemetry message
7 void convert_mavlink_to_crsf_telem(uint8_t *CRSFinBuffer, uint8_t count, Handset *handset);
9 bool isThisAMavPacket(uint8_t *buffer, uint16_t bufferSize);
10 uint16_t buildMAVLinkELRSModeChange(uint8_t mode, uint8_t *buffer);