mavlink: limit mavlink channels based on memory

This commit is contained in:
Julian Oes
2021-02-17 13:54:34 -05:00
committed by Daniel Agar
parent 10add72b00
commit 6672be040a
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -55,7 +55,7 @@
#define MAVLINK_GET_CHANNEL_BUFFER mavlink_get_channel_buffer
#define MAVLINK_GET_CHANNEL_STATUS mavlink_get_channel_status
#if defined(__PX4_POSIX)
#if !defined(CONSTRAINED_MEMORY)
#define MAVLINK_COMM_NUM_BUFFERS 6
#define MAVLINK_COMM_4 static_cast<mavlink_channel_t>(4)
#define MAVLINK_COMM_5 static_cast<mavlink_channel_t>(5)