Plane: read RC inputs in plane failsafe code

This commit is contained in:
Andrew Tridgell 2019-04-20 13:08:06 +10:00
parent 63d21d995a
commit f7c00c506e
1 changed files with 2 additions and 0 deletions

View File

@ -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