From d208f46f93526e7d5a08e256aa68d9f6edd06088 Mon Sep 17 00:00:00 2001 From: jgromes Date: Sun, 28 Jan 2024 13:31:08 +0100 Subject: [PATCH] [LoRaWAN] Added data rate check debug print --- src/protocols/LoRaWAN/LoRaWAN.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/protocols/LoRaWAN/LoRaWAN.cpp b/src/protocols/LoRaWAN/LoRaWAN.cpp index bb318aa49..bfe6d0a3c 100644 --- a/src/protocols/LoRaWAN/LoRaWAN.cpp +++ b/src/protocols/LoRaWAN/LoRaWAN.cpp @@ -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); } }