From 51b59ab555ffa0981b4e65982fe7a62b52398e5f Mon Sep 17 00:00:00 2001 From: richonguzman Date: Sun, 7 Apr 2024 08:16:28 -0400 Subject: [PATCH] crc mismatch fix --- src/lora_utils.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lora_utils.cpp b/src/lora_utils.cpp index c30303d5..72197f9a 100644 --- a/src/lora_utils.cpp +++ b/src/lora_utils.cpp @@ -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; }