aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/fsm/src/fsm.c2
-rw-r--r--src/fsm/src/fsm.h1
2 files changed, 3 insertions, 0 deletions
diff --git a/src/fsm/src/fsm.c b/src/fsm/src/fsm.c
index 08d3c5f..ca6a753 100644
--- a/src/fsm/src/fsm.c
+++ b/src/fsm/src/fsm.c
@@ -92,6 +92,8 @@ void fsm_update() {
fsm_out.tx_on = 0;
fsm_out.modulation = 0;
fsm_out.cw_trigger = 0;
+ fsm_out.cw_speed = 23;
+ fsm_out.cw_frequency = 300;
// other output signals keep their value
switch (current_state) {
diff --git a/src/fsm/src/fsm.h b/src/fsm/src/fsm.h
index 16e864a..db37fd2 100644
--- a/src/fsm/src/fsm.h
+++ b/src/fsm/src/fsm.h
@@ -80,6 +80,7 @@ struct fsm_output_signals_t {
/* Signals to the CW generator */
const char* cw_msg; // The message to transmit
int cw_frequency; // What audio frequency for the CW message
+ int cw_speed; // CW speed
int cw_trigger; // Set to true to trigger a transmission
};