[LoRaWAN] Add cast for DevAddr print

This commit is contained in:
jgromes 2024-03-26 20:15:03 +01:00
parent c77670c076
commit 5391d5d383

View file

@ -55,7 +55,7 @@ void setup() {
// Print the DevAddr
Serial.print("[LoRaWAN] DevAddr: ");
Serial.println(node.getDevAddr(), HEX);
Serial.println((unsigned long)node.getDevAddr(), HEX);
// Disable the ADR algorithm (on by default which is preferable)
node.setADR(false);