Plane: read RC input in failsafe handler

This commit is contained in:
Andrew Tridgell 2019-04-22 17:03:23 +10:00
parent b86ee4bfc1
commit 11e8243bc9
1 changed files with 4 additions and 0 deletions

View File

@ -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();