mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-07-01 17:20:35 +08:00
Use backwards compatible manual_control_setpoint instead of manual_control_input
This commit is contained in:
@@ -1085,7 +1085,7 @@ bool Logger::start_stop_logging()
|
||||
|
||||
if (_manual_control_setpoint_sub.update(&manual_control_setpoint)) {
|
||||
|
||||
desired_state = (manual_control_setpoint.chosen_input.aux1 > 0.3f);
|
||||
desired_state = (manual_control_setpoint.aux1 > 0.3f);
|
||||
updated = true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user