Skip to content

Commit

Permalink
GCS_MAVLink: raise number of MAVLink ports
Browse files Browse the repository at this point in the history
with CAN serial ports and network serial ports sometimes need more
  • Loading branch information
tridge committed Oct 14, 2024
1 parent 2524583 commit 90640d8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions libraries/GCS_MAVLink/GCS_MAVLink.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 90640d8

Please sign in to comment.