mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-22 00:53:33 +08:00
refactor commander: rename rc_signal_lost -> manual_control_signal_lost, data_link_lost -> gcs_connection_lost
This commit is contained in:
@@ -75,7 +75,7 @@ bool Sticks::checkAndUpdateStickInputs()
|
||||
vehicle_status_flags_s vehicle_status_flags;
|
||||
|
||||
if (_vehicle_status_flags_sub.update(&vehicle_status_flags)) {
|
||||
if (vehicle_status_flags.rc_signal_lost) {
|
||||
if (vehicle_status_flags.manual_control_signal_lost) {
|
||||
_input_available = false;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user