mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-28 01:43:34 +08:00
mavlink: enable 6 instead of 4 instance
This commit is contained in:
@@ -55,6 +55,12 @@
|
||||
#define MAVLINK_GET_CHANNEL_BUFFER mavlink_get_channel_buffer
|
||||
#define MAVLINK_GET_CHANNEL_STATUS mavlink_get_channel_status
|
||||
|
||||
#if defined(__PX4_POSIX)
|
||||
#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)
|
||||
#endif
|
||||
|
||||
#include <v2.0/mavlink_types.h>
|
||||
#include <unistd.h>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user