From be4bc23da479a691be9905f60aff0c85f7c3393d Mon Sep 17 00:00:00 2001
From: Alessio Morale <alessiomorale@gmail.com>
Date: Wed, 1 Apr 2015 20:36:10 +0200
Subject: [PATCH] OP-1812 - Fix the failsafe issue with PWM inputs

---
 flight/pios/stm32f10x/pios_pwm.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/flight/pios/stm32f10x/pios_pwm.c b/flight/pios/stm32f10x/pios_pwm.c
index 3c876d22f..14e610301 100644
--- a/flight/pios/stm32f10x/pios_pwm.c
+++ b/flight/pios/stm32f10x/pios_pwm.c
@@ -209,9 +209,7 @@ static void PIOS_PWM_tim_overflow_cb(__attribute__((unused)) uint32_t tim_id, ui
         /* Channel out of range */
         return;
     }
-    if (!pwm_dev->CaptureState[channel]) {
-        return;
-    }
+
     pwm_dev->us_since_update[channel] += count;
     if (pwm_dev->us_since_update[channel] >= PWM_SUPERVISOR_TIMEOUT) {
         pwm_dev->CaptureState[channel]    = 0;