aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2020-11-16 07:46:48 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2020-11-16 07:46:48 +0100
commit62d0dc6f1383ca8a6ed359bf5e3728439fb98d8d (patch)
treeee5f5dd7ff883a3e3481f02d150ff54e06af5909 /src
parenta676d57519554d9ae74b39eba8fa7393f7a1a80e (diff)
downloadglutte-o-matic-62d0dc6f1383ca8a6ed359bf5e3728439fb98d8d.tar.gz
glutte-o-matic-62d0dc6f1383ca8a6ed359bf5e3728439fb98d8d.tar.bz2
glutte-o-matic-62d0dc6f1383ca8a6ed359bf5e3728439fb98d8d.zip
FSM: Trigger CW only once in BALISE_LONGUE
Diffstat (limited to 'src')
-rw-r--r--src/common/Core/fsm.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/common/Core/fsm.c b/src/common/Core/fsm.c
index e2c5002..f34b636 100644
--- a/src/common/Core/fsm.c
+++ b/src/common/Core/fsm.c
@@ -529,11 +529,10 @@ void fsm_update() {
snprintf(balise_message + len, BALISE_MESSAGE_LEN-len-1,
"%s" CW_POSTDELAY,
eol_info);
- }
-
- fsm_out.msg = balise_message;
- fsm_out.cw_psk_trigger = 1;
+ fsm_out.msg = balise_message;
+ fsm_out.cw_psk_trigger = 1;
+ }
}
if (fsm_in.cw_psk_done) {