From 145490c8910eeda653abe4e0d3a1f86645e5789b Mon Sep 17 00:00:00 2001 From: Lee Leahy Date: Fri, 24 Mar 2023 10:07:43 -1000 Subject: [PATCH] MP: Don't change state when not necessary --- Firmware/LoRaSerial/States.ino | 7 ------- 1 file changed, 7 deletions(-) diff --git a/Firmware/LoRaSerial/States.ino b/Firmware/LoRaSerial/States.ino index afdd09ef..613597da 100644 --- a/Firmware/LoRaSerial/States.ino +++ b/Firmware/LoRaSerial/States.ino @@ -1411,10 +1411,6 @@ void updateRadioState() changeState(RADIO_MP_WAIT_TX_DONE); } } - else - { - changeState(RADIO_MP_STANDBY); - } break; case DATAGRAM_HEARTBEAT: @@ -1432,7 +1428,6 @@ void updateRadioState() lastPacketReceived = millis(); //Update timestamp for Link LED blinkHeartbeatLed(true); - changeState(RADIO_MP_STANDBY); } break; @@ -1446,8 +1441,6 @@ void updateRadioState() frequencyCorrection += radio.getFrequencyError() / 1000000.0; lastPacketReceived = millis(); //Update timestamp for Link LED - - changeState(RADIO_MP_STANDBY); break; } }