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; }