failsafe: make sure we clear any RC override in manual failsafe

This commit is contained in:
Andrew Tridgell 2011-12-22 10:55:43 +11:00
parent 9892886994
commit ef3c5c071a

View File

@ -38,6 +38,7 @@ void failsafe_check(uint32_t tnow)
if (in_failsafe && tnow - last_timestamp > 20000) {
// pass RC inputs to outputs every 20ms
last_timestamp = tnow;
APM_RC.clearOverride();
for (uint8_t ch=0; ch<8; ch++) {
APM_RC.OutputCh(ch, APM_RC.InputCh(ch));
}