mirror of https://github.com/ArduPilot/ardupilot
Plane: read RC input in failsafe handler
This commit is contained in:
parent
b86ee4bfc1
commit
11e8243bc9
|
@ -39,6 +39,10 @@ void Plane::failsafe_check(void)
|
|||
}
|
||||
|
||||
if (in_failsafe && tnow - last_timestamp > 20000) {
|
||||
|
||||
// ensure we have the latest RC inputs
|
||||
rc().read_input();
|
||||
|
||||
last_timestamp = tnow;
|
||||
|
||||
rc().read_input();
|
||||
|
|
Loading…
Reference in New Issue