Skip to content

Commit

Permalink
[LoRaWAN] Add cast for DevAddr print
Browse files Browse the repository at this point in the history
  • Loading branch information
jgromes committed Mar 26, 2024
1 parent c77670c commit 5391d5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/LoRaWAN/LoRaWAN_Reference/LoRaWAN_Reference.ino
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 5391d5d

Please sign in to comment.