From 9a76249fe55ee7736b129b100af8742d4af1415d Mon Sep 17 00:00:00 2001 From: richonguzman Date: Sun, 11 Jun 2023 21:28:12 -0400 Subject: [PATCH] eso --- src/LoRa_APRS_iGate.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/LoRa_APRS_iGate.cpp b/src/LoRa_APRS_iGate.cpp index f5c628d..62674b5 100644 --- a/src/LoRa_APRS_iGate.cpp +++ b/src/LoRa_APRS_iGate.cpp @@ -49,12 +49,7 @@ void setup() { } void loop() { - if (stationMode==3 || stationMode==4) { // DigiRepeater (3 RxFreq=TxFreq / 4 RxFreq!=TxFreq) - utils::checkDisplayInterval(); - utils::checkBeaconInterval(); - show_display(firstLine, secondLine, thirdLine, fourthLine, 0); - DIGI_Utils::processPacket(LoRa_Utils::receivePacket()); - } else if (stationMode==1 || stationMode==2 ) { // iGate (1 Only Rx / 2 Rx+Tx) + if (stationMode==1 || stationMode==2 ) { // iGate (1 Only Rx / 2 Rx+Tx) WIFI_Utils::checkWiFi(); if (!espClient.connected()) { APRS_IS_Utils::connect(); @@ -71,5 +66,10 @@ void loop() { APRS_IS_Utils::processAPRSISPacket(aprsisPacket); } } + } else if (stationMode==3 || stationMode==4) { // DigiRepeater (3 RxFreq=TxFreq / 4 RxFreq!=TxFreq) + utils::checkDisplayInterval(); + utils::checkBeaconInterval(); + show_display(firstLine, secondLine, thirdLine, fourthLine, 0); + DIGI_Utils::processPacket(LoRa_Utils::receivePacket()); } } \ No newline at end of file