GCS_MAVLink: build ArduPilot against all.xml not ardupilotmega.xml

This commit is contained in:
Peter Barker 2022-01-30 16:16:26 +11:00 committed by Andrew Tridgell
parent d086b5e9fc
commit a6713f8368

View File

@ -34,7 +34,7 @@
#pragma GCC diagnostic ignored "-Waddress-of-packed-member"
#endif
#include "include/mavlink/v2.0/ardupilotmega/version.h"
#include "include/mavlink/v2.0/all/version.h"
#define MAVLINK_MAX_PAYLOAD_LEN 255
@ -67,7 +67,7 @@ void comm_send_buffer(mavlink_channel_t chan, const uint8_t *buf, uint8_t len);
uint16_t comm_get_txspace(mavlink_channel_t chan);
#define MAVLINK_USE_CONVENIENCE_FUNCTIONS
#include "include/mavlink/v2.0/ardupilotmega/mavlink.h"
#include "include/mavlink/v2.0/all/mavlink.h"
// lock and unlock a channel, for multi-threaded mavlink send
void comm_send_lock(mavlink_channel_t chan);