Skip to content

Commit 928b7b0

Browse files
matthias-bsterrillmoore
authored andcommitted
fixed kCountryCode()
1 parent 50c5e6e commit 928b7b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Arduino_LoRaWAN.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ namespace Arduino_LMIC {
8181
{
8282
return (c1 < 'A' || c1 > 'Z' || c2 < 'A' || c2 > 'Z')
8383
? 0
84-
: ((c1 << 8) | c1);
84+
: ((c1 << 8) | c2);
8585
}
8686
} // namespace Arduino_LMIC
8787

0 commit comments

Comments
 (0)