aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2016-09-12 20:24:45 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2016-09-12 20:24:45 +0200
commit8d060c589f4e9d0da443cdd39ad80e64d96a8117 (patch)
tree22d8e52d30abeb4987ca115743e2592bcbd90854
parent1178a81fd9ad7d02d0207eb3d5a7279e88ec52b0 (diff)
downloadglutte-o-matic-8d060c589f4e9d0da443cdd39ad80e64d96a8117.tar.gz
glutte-o-matic-8d060c589f4e9d0da443cdd39ad80e64d96a8117.tar.bz2
glutte-o-matic-8d060c589f4e9d0da443cdd39ad80e64d96a8117.zip
Reset short beacon counter on long beacon TX
-rw-r--r--src/common/src/Core/fsm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common/src/Core/fsm.c b/src/common/src/Core/fsm.c
index db1f05c..2d15cab 100644
--- a/src/common/src/Core/fsm.c
+++ b/src/common/src/Core/fsm.c
@@ -198,6 +198,7 @@ void fsm_update() {
next_state = FSM_OPEN1;
}
else if (balise_state == BALISE_FSM_PENDING) {
+ short_beacon_counter_s = 0;
if (fsm_in.qrp || fsm_in.swr_high) {
next_state = FSM_BALISE_SPECIALE;
}