mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
GCS_MAVLink: raise number of MAVLink ports
with CAN serial ports and network serial ports sometimes need more
This commit is contained in:
parent
996b36531b
commit
b34417f683
@ -15,9 +15,9 @@
|
||||
#define MAVLINK_START_UART_SEND(chan, size) comm_send_lock(chan, size)
|
||||
#define MAVLINK_END_UART_SEND(chan, size) comm_send_unlock(chan)
|
||||
|
||||
#if AP_NETWORKING_ENABLED
|
||||
// allow 7 telemetry ports with networking
|
||||
#define MAVLINK_COMM_NUM_BUFFERS 7
|
||||
#if BOARD_FLASH_SIZE > 1024
|
||||
// allow 8 telemetry ports, allowing for extra networking or CAN ports
|
||||
#define MAVLINK_COMM_NUM_BUFFERS 8
|
||||
#else
|
||||
// allow five telemetry ports
|
||||
#define MAVLINK_COMM_NUM_BUFFERS 5
|
||||
|
Loading…
Reference in New Issue
Block a user