mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-10 18:08:30 -04:00
ArduPPM: Another small fix found by John Arne
This commit is contained in:
parent
ca5689c8b7
commit
9d0f117c5d
@ -797,10 +797,7 @@ ISR( PPM_INT_VECTOR, ISR_NOBLOCK )
|
||||
|
||||
#if defined _THROTTLE_LOW_RECOVERY_POSSIBLE && defined _THROTTLE_LOW_FAILSAFE_INDICATION
|
||||
// Count the channel that we have lost
|
||||
if( servo_input_connected[ ppm_out_channel ] )
|
||||
{
|
||||
disconnected_channels++;
|
||||
}
|
||||
disconnected_channels++;
|
||||
#elif defined _THROTTLE_LOW_FAILSAFE_INDICATION
|
||||
throttle_failsafe_force = true;
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user