log update

This commit is contained in:
richonguzman 2023-09-26 13:43:09 -03:00
parent 12e498ad6d
commit da4135ac1a
1 changed files with 1 additions and 1 deletions

View File

@ -144,7 +144,7 @@ namespace LoRa_Utils {
radio.startReceive();
int state = radio.readData(loraPacket);
if (state == RADIOLIB_ERR_NONE) {
//Serial.println(F("success!"));
logger.log(logging::LoggerLevel::LOGGER_LEVEL_INFO, "LoRa","Receive data: %s", loraPacket.c_str());
//Serial.print(F("[SX1268] Data:\t\t")); Serial.println(loraPacket);
} else if (state == RADIOLIB_ERR_RX_TIMEOUT) {
// timeout occurred while waiting for a packet