mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-22 02:43:34 +08:00
MAVLink: Update complete app to support MAVLink 1 & MAVLink 2. Add MAV_PROTO_VER param to switch between them
This commit is contained in:
@@ -47,6 +47,15 @@ PARAM_DEFINE_INT32(MAV_SYS_ID, 1);
|
||||
*/
|
||||
PARAM_DEFINE_INT32(MAV_COMP_ID, 1);
|
||||
|
||||
/**
|
||||
* MAVLink protocol version
|
||||
* @group MAVLink
|
||||
* @value 0 Default to 1, switch to 2 if GCS sends version 2
|
||||
* @value 1 Always use version 1
|
||||
* @value 2 Always use version 2
|
||||
*/
|
||||
PARAM_DEFINE_INT32(MAV_PROTO_VER, 1);
|
||||
|
||||
/**
|
||||
* MAVLink Radio ID
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user