From 999aab206a9f6553ab0aa6736b64737b4f396630 Mon Sep 17 00:00:00 2001 From: bsongis Date: Wed, 8 Jul 2015 19:22:47 +0200 Subject: [PATCH] Timer3 was not reset on FlightReset (when present) --- radio/src/opentx.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/radio/src/opentx.cpp b/radio/src/opentx.cpp index 9e2be0714..768b33ee0 100644 --- a/radio/src/opentx.cpp +++ b/radio/src/opentx.cpp @@ -1472,9 +1472,17 @@ void flightReset() timerReset(0); } +#if TIMERS > 1 if (!IS_MANUAL_RESET_TIMER(1)) { timerReset(1); } +#endif + +#if TIMERS > 2 + if (!IS_MANUAL_RESET_TIMER(2)) { + timerReset(2); + } +#endif #if defined(FRSKY) telemetryReset();