From 9d0f117c5db35c919d9d0a0abfe5dd17c7521fbd Mon Sep 17 00:00:00 2001 From: Julian Oes Date: Sun, 13 Jan 2013 20:30:35 -0800 Subject: [PATCH] ArduPPM: Another small fix found by John Arne --- Tools/ArduPPM/Libraries/PPM_Encoder.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/Tools/ArduPPM/Libraries/PPM_Encoder.h b/Tools/ArduPPM/Libraries/PPM_Encoder.h index b3fdfd9f69..fcb7bccdc7 100644 --- a/Tools/ArduPPM/Libraries/PPM_Encoder.h +++ b/Tools/ArduPPM/Libraries/PPM_Encoder.h @@ -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