From 2a01238bff8fb569ca3130fe7a3b7b50b8e49155 Mon Sep 17 00:00:00 2001 From: lumapu Date: Tue, 9 Jan 2024 22:23:16 +0100 Subject: [PATCH] small fix --- src/hm/Communication.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/hm/Communication.h b/src/hm/Communication.h index 5c1b1f21..cf0d0054 100644 --- a/src/hm/Communication.h +++ b/src/hm/Communication.h @@ -140,8 +140,7 @@ class Communication : public CommQueue<> { if((IV_HMS == q->iv->ivGen) || (IV_HMT == q->iv->ivGen)) { q->iv->radio->switchFrequency(q->iv, HOY_BOOT_FREQ_KHZ, (q->iv->config->frequency*FREQ_STEP_KHZ + HOY_BASE_FREQ_KHZ)); mWaitTime.startTimeMonitor(1000); - } - if(IV_MI == q->iv->ivGen) + } else if(IV_MI == q->iv->ivGen) q->iv->mIvTxCnt++; } closeRequest(q, false);