diff options
-rw-r--r-- | src/common/src/Core/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/src/Core/main.c b/src/common/src/Core/main.c index 417c7af..17576cc 100644 --- a/src/common/src/Core/main.c +++ b/src/common/src/Core/main.c @@ -517,7 +517,7 @@ static void exercise_fsm(void __attribute__ ((unused))*pvParameters) last_tm_trigger_button = tm_trigger_button; const int cw_psk31_done = !cw_psk31_busy(); - const int cw_done = cw_psk31_done || only_zero_in_audio_buffer; + const int cw_done = cw_psk31_done && only_zero_in_audio_buffer; // Set the done flag to 1 only once, when cw_done switches from 0 to 1 if (last_cw_done != cw_done) { |