mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
GCS_MAVLink: build ArduPilot against all.xml not ardupilotmega.xml
This commit is contained in:
parent
d086b5e9fc
commit
a6713f8368
@ -34,7 +34,7 @@
|
|||||||
#pragma GCC diagnostic ignored "-Waddress-of-packed-member"
|
#pragma GCC diagnostic ignored "-Waddress-of-packed-member"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "include/mavlink/v2.0/ardupilotmega/version.h"
|
#include "include/mavlink/v2.0/all/version.h"
|
||||||
|
|
||||||
#define MAVLINK_MAX_PAYLOAD_LEN 255
|
#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);
|
uint16_t comm_get_txspace(mavlink_channel_t chan);
|
||||||
|
|
||||||
#define MAVLINK_USE_CONVENIENCE_FUNCTIONS
|
#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
|
// lock and unlock a channel, for multi-threaded mavlink send
|
||||||
void comm_send_lock(mavlink_channel_t chan);
|
void comm_send_lock(mavlink_channel_t chan);
|
||||||
|
Loading…
Reference in New Issue
Block a user