crc mismatch fix

This commit is contained in:
richonguzman 2024-04-07 08:16:28 -04:00
parent b9024d34cb
commit 51b59ab555

View file

@ -181,6 +181,7 @@ namespace LoRa_Utils {
if (Config.syslog.active && WiFi.status() == WL_CONNECTED) {
SYSLOG_Utils::log("Rx", "RADIOLIB_ERR_CRC_MISMATCH", 0,0,0);
}
loraPacket = "";
} else {
Utils::print(F("failed, code "));
Utils::println(String(state));
@ -194,7 +195,6 @@ namespace LoRa_Utils {
return "";
}
}
return loraPacket;
}