[LoRaWAN] Added data rate check debug print

This commit is contained in:
jgromes 2024-01-28 13:31:08 +01:00
parent a168f9ba41
commit d208f46f93

View file

@ -2230,7 +2230,7 @@ bool LoRaWANNode::execMacCommand(LoRaWANMacCommand_t* cmd, bool saveToEeprom) {
this->dataRates[RADIOLIB_LORAWAN_CHANNEL_DIR_DOWNLINK] = drDown;
drAck = 1;
} else {
RADIOLIB_DEBUG_PRINTLN("ADR failed to configure dataRate = %d!", drUp);
RADIOLIB_DEBUG_PRINTLN("ADR failed to configure dataRate %d, code %d!", drUp, state);
}
}