Browse Source

Plane: read RC inputs in plane failsafe code

mission-4.1.18
Andrew Tridgell 6 years ago
parent
commit
f7c00c506e
  1. 2
      ArduPlane/failsafe.cpp

2
ArduPlane/failsafe.cpp

@ -41,6 +41,8 @@ void Plane::failsafe_check(void) @@ -41,6 +41,8 @@ void Plane::failsafe_check(void)
if (in_failsafe && tnow - last_timestamp > 20000) {
last_timestamp = tnow;
rc().read_input();
#if ADVANCED_FAILSAFE == ENABLED
if (in_calibration) {
// tell the failsafe system that we are calibrating

Loading…
Cancel
Save