From 0b7abf244e5c24b6da451ebd995a6164fabfb459 Mon Sep 17 00:00:00 2001 From: Connor McLaughlin Date: Thu, 30 Jan 2020 16:18:56 +1000 Subject: [PATCH] Timers: Fix sync mode 3 inverted condition --- src/core/timers.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/timers.cpp b/src/core/timers.cpp index 63733ee88..58f9fc829 100644 --- a/src/core/timers.cpp +++ b/src/core/timers.cpp @@ -259,7 +259,6 @@ void Timers::UpdateCountingEnabled(CounterState& cs) switch (cs.mode.sync_mode) { case SyncMode::PauseOnGate: - case SyncMode::FreeRunOnGate: cs.counting_enabled = !cs.gate; break; @@ -268,6 +267,7 @@ void Timers::UpdateCountingEnabled(CounterState& cs) break; case SyncMode::ResetAndRunOnGate: + case SyncMode::FreeRunOnGate: cs.counting_enabled = cs.gate; break; }