From 0a69ff868a51c8dca558ea38fbcc1d0055562a59 Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Sat, 3 Sep 2016 23:36:53 +0200 Subject: FSM: switch to OPEN1 only with 1750 --- src/common/src/Core/fsm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/common/src/Core/fsm.c b/src/common/src/Core/fsm.c index a461408..5c93d0d 100644 --- a/src/common/src/Core/fsm.c +++ b/src/common/src/Core/fsm.c @@ -188,7 +188,7 @@ void fsm_update() { } } - if (fsm_in.tone_1750 && fsm_in.sq) { + if (fsm_in.tone_1750) { next_state = FSM_OPEN1; } else if (fsm_in.start_tm) { @@ -210,7 +210,7 @@ void fsm_update() { /* Do not enable TX_ON here, otherwise we could get stuck transmitting * forever if SQ never goes low. */ - if (!fsm_in.sq) { + if (!fsm_in.sq && !fsm_in.tone_1750) { next_state = FSM_OPEN2; } break; -- cgit v1.2.3