diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2020-10-30 12:55:01 +0100 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2020-10-30 12:55:01 +0100 |
commit | 9af7039353c25b8a24861491cdfac81353b86ef7 (patch) | |
tree | 929b747c768cfbd2cf08f7cf5207e1f3339678b7 /src/common/Core/fsm.c | |
parent | ed3ba0ee7d8546711be9d4c800dc4f4f0a81aedf (diff) | |
download | glutte-o-matic-9af7039353c25b8a24861491cdfac81353b86ef7.tar.gz glutte-o-matic-9af7039353c25b8a24861491cdfac81353b86ef7.tar.bz2 glutte-o-matic-9af7039353c25b8a24861491cdfac81353b86ef7.zip |
Add bonne annee
Diffstat (limited to 'src/common/Core/fsm.c')
-rw-r--r-- | src/common/Core/fsm.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/common/Core/fsm.c b/src/common/Core/fsm.c index da70329..928882f 100644 --- a/src/common/Core/fsm.c +++ b/src/common/Core/fsm.c @@ -673,7 +673,10 @@ void fsm_update() { fsm_out.msg_frequency = 696; fsm_out.cw_dit_duration = 70; - { + if (fsm_in.bonne_annee) { + fsm_out.msg = CW_PREDELAY "HB9G BONNE ANNEE" CW_POSTDELAY; + } + else { int rand = random_bool() * 2 + random_bool(); if (rand == 0) { |