aboutsummaryrefslogtreecommitdiffstats
path: root/src/common
diff options
context:
space:
mode:
Diffstat (limited to 'src/common')
-rw-r--r--src/common/Core/fsm.c9
-rw-r--r--src/common/Core/stats.c2
2 files changed, 1 insertions, 10 deletions
diff --git a/src/common/Core/fsm.c b/src/common/Core/fsm.c
index a41ee0e..cc434c4 100644
--- a/src/common/Core/fsm.c
+++ b/src/common/Core/fsm.c
@@ -463,8 +463,7 @@ void fsm_update() {
case FSM_BALISE_STATS1:
fsm_out.tx_on = 1;
fsm_out.msg_frequency = 588;
-#warning "dit duration = 110"
- fsm_out.cw_dit_duration = 30;
+ fsm_out.cw_dit_duration = 110;
{
const float supply_voltage = round_float_to_half_steps(analog_measure_12v());
@@ -491,12 +490,6 @@ void fsm_update() {
}
if (balise_message_empty()) {
-#warning "only for debug"
- if (current_state == FSM_BALISE_STATS1) {
- snprintf(balise_message, BALISE_MESSAGE_LEN-1,
- CW_PREDELAY "HB9G " CW_POSTDELAY);
- }
- else
if (temperature_valid()) {
snprintf(balise_message, BALISE_MESSAGE_LEN-1,
CW_PREDELAY "HB9G JN36BK 1628M U %dV%01d %c T %d %s" CW_POSTDELAY,
diff --git a/src/common/Core/stats.c b/src/common/Core/stats.c
index 9a14076..2c9009a 100644
--- a/src/common/Core/stats.c
+++ b/src/common/Core/stats.c
@@ -171,12 +171,10 @@ void stats_tx_switched(int tx_on)
if (tx_on) {
last_tx_on = timestamp_now();
- fprintf(stderr, "TX on at %lu\n", last_tx_on);
last_tx_on_valid = 1;
}
else if (last_tx_on_valid) {
const uint64_t qso_duration = timestamp_now() - last_tx_on;
- fprintf(stderr, "TX off with dur=%lu\n", qso_duration);
if (qso_duration > max_qso_duration) {
max_qso_duration = qso_duration;
}