diff options
author | Maximilien Cuony <maximilien@theglu.org> | 2016-09-15 19:27:14 +0200 |
---|---|---|
committer | Maximilien Cuony <maximilien@theglu.org> | 2016-09-15 19:27:14 +0200 |
commit | c3c8bff0171104769f6af1d5b090c61c328aafdb (patch) | |
tree | 2158b5003579f7e77846b84ce873bfcf8513e8e2 /src | |
parent | 89440117c1c7d36b3bfb948296b40e899c9c2196 (diff) | |
download | glutte-o-matic-c3c8bff0171104769f6af1d5b090c61c328aafdb.tar.gz glutte-o-matic-c3c8bff0171104769f6af1d5b090c61c328aafdb.tar.bz2 glutte-o-matic-c3c8bff0171104769f6af1d5b090c61c328aafdb.zip |
Fix only_zero_in_audio_buffer condition
Diffstat (limited to 'src')
-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) { |