From 3f14a258521ac149cb980e3b03b52aab5e92e894 Mon Sep 17 00:00:00 2001 From: Bertrand Songis Date: Tue, 8 Sep 2015 19:19:38 +0200 Subject: [PATCH] Warning removed --- radio/src/opentx.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/radio/src/opentx.cpp b/radio/src/opentx.cpp index 709baf1c9..2e24f5b99 100644 --- a/radio/src/opentx.cpp +++ b/radio/src/opentx.cpp @@ -2139,8 +2139,6 @@ ISR(TIMER_10MS_VECT, ISR_NOBLOCK) // (The timer is free-running and is thus not reset to zero at each capture interval.) ISR(TIMER3_CAPT_vect) // G: High frequency noise can cause stack overflo with ISR_NOBLOCK { - static uint16_t lastCapt; - uint16_t capture=ICR3; // Prevent rentrance for this IRQ only