mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-13 06:03:34 +08:00
mavlink_main: add profile handling (#25214)
This commit is contained in:
@@ -2099,6 +2099,9 @@ Mavlink::task_main(int argc, char *argv[])
|
||||
} else if (strcmp(myoptarg, "uavionix") == 0) {
|
||||
_mode = MAVLINK_MODE_UAVIONIX;
|
||||
|
||||
} else if (strcmp(myoptarg, "low_bandwidth") == 0) {
|
||||
_mode = MAVLINK_MODE_LOW_BANDWIDTH;
|
||||
|
||||
} else {
|
||||
PX4_ERR("invalid mode");
|
||||
err_flag = true;
|
||||
|
||||
Reference in New Issue
Block a user