Skip to content

Commit

Permalink
rx Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
richonguzman committed Apr 9, 2024
1 parent a6ce44f commit aea0aa2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lora_utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand All @@ -121,8 +122,7 @@ namespace LoRa_Utils {
if (Config.loramodule.txFreq != Config.loramodule.rxFreq) {
changeFreqRx();
}

ignorePacket = true;
//ignorePacket = true;
}

String generatePacket(String aprsisPacket) {
Expand Down

0 comments on commit aea0aa2

Please sign in to comment.