From aea0aa21afce00ab7914ca3ce170961033f65a65 Mon Sep 17 00:00:00 2001 From: richonguzman Date: Tue, 9 Apr 2024 11:20:09 -0400 Subject: [PATCH] rx Fix --- src/lora_utils.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lora_utils.cpp b/src/lora_utils.cpp index 72197f9..8946d48 100644 --- a/src/lora_utils.cpp +++ b/src/lora_utils.cpp @@ -101,6 +101,7 @@ namespace LoRa_Utils { digitalWrite(internalLedPin, HIGH); #endif int state = radio.transmit("\x3c\xff\x01" + newPacket); + transmissionFlag = true; if (state == RADIOLIB_ERR_NONE) { if (Config.syslog.active && WiFi.status() == WL_CONNECTED) { SYSLOG_Utils::log("Tx", newPacket, 0, 0, 0); @@ -121,8 +122,7 @@ namespace LoRa_Utils { if (Config.loramodule.txFreq != Config.loramodule.rxFreq) { changeFreqRx(); } - - ignorePacket = true; + //ignorePacket = true; } String generatePacket(String aprsisPacket) {