mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-06 07:58:28 -04:00
Plane: read RC inputs in plane failsafe code
This commit is contained in:
parent
63d21d995a
commit
f7c00c506e
@ -41,6 +41,8 @@ void Plane::failsafe_check(void)
|
|||||||
if (in_failsafe && tnow - last_timestamp > 20000) {
|
if (in_failsafe && tnow - last_timestamp > 20000) {
|
||||||
last_timestamp = tnow;
|
last_timestamp = tnow;
|
||||||
|
|
||||||
|
rc().read_input();
|
||||||
|
|
||||||
#if ADVANCED_FAILSAFE == ENABLED
|
#if ADVANCED_FAILSAFE == ENABLED
|
||||||
if (in_calibration) {
|
if (in_calibration) {
|
||||||
// tell the failsafe system that we are calibrating
|
// tell the failsafe system that we are calibrating
|
||||||
|
Loading…
Reference in New Issue
Block a user