mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-06-01 11:06:04 +08:00
commander: ignore PREFLIGHT_CALIBRATION for temperature calibration param
This commit is contained in:
@@ -3978,6 +3978,10 @@ void *commander_low_prio_loop(void *arg)
|
|||||||
answer_command(cmd, vehicle_command_s::VEHICLE_CMD_RESULT_ACCEPTED, command_ack_pub, command_ack);
|
answer_command(cmd, vehicle_command_s::VEHICLE_CMD_RESULT_ACCEPTED, command_ack_pub, command_ack);
|
||||||
calib_ret = do_gyro_calibration(&mavlink_log_pub);
|
calib_ret = do_gyro_calibration(&mavlink_log_pub);
|
||||||
|
|
||||||
|
} else if ((int)(cmd.param1) == 2) {
|
||||||
|
/* temperature calibration: handled in events module */
|
||||||
|
break;
|
||||||
|
|
||||||
} else if ((int)(cmd.param2) == 1) {
|
} else if ((int)(cmd.param2) == 1) {
|
||||||
/* magnetometer calibration */
|
/* magnetometer calibration */
|
||||||
answer_command(cmd, vehicle_command_s::VEHICLE_CMD_RESULT_ACCEPTED, command_ack_pub, command_ack);
|
answer_command(cmd, vehicle_command_s::VEHICLE_CMD_RESULT_ACCEPTED, command_ack_pub, command_ack);
|
||||||
|
|||||||
Reference in New Issue
Block a user