Skip to content

Commit

Permalink
crc mismatch fix
Browse files Browse the repository at this point in the history
  • Loading branch information
richonguzman committed Apr 7, 2024
1 parent b9024d3 commit 51b59ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lora_utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand All @@ -194,7 +195,6 @@ namespace LoRa_Utils {
return "";
}
}

return loraPacket;
}

Expand Down

0 comments on commit 51b59ab

Please sign in to comment.