kopia lustrzana https://github.com/jgromes/RadioLib
[LoRaWAN] Added data rate check debug print
rodzic
a168f9ba41
commit
d208f46f93
|
@ -2230,7 +2230,7 @@ bool LoRaWANNode::execMacCommand(LoRaWANMacCommand_t* cmd, bool saveToEeprom) {
|
||||||
this->dataRates[RADIOLIB_LORAWAN_CHANNEL_DIR_DOWNLINK] = drDown;
|
this->dataRates[RADIOLIB_LORAWAN_CHANNEL_DIR_DOWNLINK] = drDown;
|
||||||
drAck = 1;
|
drAck = 1;
|
||||||
} else {
|
} else {
|
||||||
RADIOLIB_DEBUG_PRINTLN("ADR failed to configure dataRate = %d!", drUp);
|
RADIOLIB_DEBUG_PRINTLN("ADR failed to configure dataRate %d, code %d!", drUp, state);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Ładowanie…
Reference in New Issue