mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-22 00:28:30 -04:00
Copter: clear RC in overrides on GCS failsafe.
This commit is contained in:
parent
60f522a094
commit
f5a68fdba1
@ -255,6 +255,10 @@ static void failsafe_gcs_check()
|
||||
set_failsafe_gcs(true);
|
||||
Log_Write_Error(ERROR_SUBSYSTEM_FAILSAFE_GCS, ERROR_CODE_FAILSAFE_OCCURRED);
|
||||
|
||||
// clear overrides so that RC control can be regained with radio.
|
||||
hal.rcin->clear_overrides();
|
||||
failsafe.rc_override_active = false;
|
||||
|
||||
// This is how to handle a failsafe.
|
||||
// use the throttle failsafe setting to decide what to do
|
||||
switch(control_mode) {
|
||||
|
Loading…
Reference in New Issue
Block a user