Timer3 was not reset on FlightReset (when present)

This commit is contained in:
bsongis
2015-07-08 19:42:18 +02:00
parent 19f5db6fe7
commit 999aab206a
+8
View File
@@ -1472,9 +1472,17 @@ void flightReset()
timerReset(0); timerReset(0);
} }
#if TIMERS > 1
if (!IS_MANUAL_RESET_TIMER(1)) { if (!IS_MANUAL_RESET_TIMER(1)) {
timerReset(1); timerReset(1);
} }
#endif
#if TIMERS > 2
if (!IS_MANUAL_RESET_TIMER(2)) {
timerReset(2);
}
#endif
#if defined(FRSKY) #if defined(FRSKY)
telemetryReset(); telemetryReset();