mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
Plane: read RC inputs in plane failsafe code
# Conflicts: # ArduPlane/failsafe.cpp
This commit is contained in:
parent
27aba29109
commit
6a052a5042
@ -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_Channels::read_input();
|
||||||
|
|
||||||
if (in_calibration) {
|
if (in_calibration) {
|
||||||
// tell the failsafe system that we are calibrating
|
// tell the failsafe system that we are calibrating
|
||||||
// sensors, so don't trigger failsafe
|
// sensors, so don't trigger failsafe
|
||||||
|
Loading…
Reference in New Issue
Block a user