mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
GCS_MAVLink: allow for proxying of larger MAVLink messages on PX4
this makes it possible to deal with large MAVLink messages
This commit is contained in:
parent
11956ece7c
commit
d9e8c34a89
@ -32,10 +32,14 @@
|
||||
|
||||
#include "include/mavlink/v1.0/ardupilotmega/version.h"
|
||||
|
||||
#if CONFIG_HAL_BOARD == HAL_BOARD_APM1 || CONFIG_HAL_BOARD == HAL_BOARD_APM2
|
||||
// this allows us to make mavlink_message_t much smaller. It means we
|
||||
// can't support the largest messages in common.xml, but we don't need
|
||||
// those for APM
|
||||
// those for APM1/APM2
|
||||
#define MAVLINK_MAX_PAYLOAD_LEN 104
|
||||
#else
|
||||
#define MAVLINK_MAX_PAYLOAD_LEN 255
|
||||
#endif
|
||||
|
||||
#include "include/mavlink/v1.0/mavlink_types.h"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user