From 9af7039353c25b8a24861491cdfac81353b86ef7 Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Fri, 30 Oct 2020 12:55:01 +0100 Subject: Add bonne annee --- src/common/Core/fsm.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/common/Core/fsm.c') 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) { -- cgit v1.2.3