update log sx126x

This commit is contained in:
richonguzman 2024-01-24 21:07:33 -03:00
parent 690fabf15a
commit 23648e1845
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@ namespace LoRa_Utils {
float freq = (float)Config.loramodule.frequency/1000000;
int state = radio.begin(freq);
if (state == RADIOLIB_ERR_NONE) {
logger.log(logging::LoggerLevel::LOGGER_LEVEL_INFO, "LoRa", "Initializing SX1268");
logger.log(logging::LoggerLevel::LOGGER_LEVEL_INFO, "LoRa", "Initializing SX126X");
} else {
logger.log(logging::LoggerLevel::LOGGER_LEVEL_ERROR, "LoRa", "Starting LoRa failed!");
while (true);