Skip to content

Commit a17374d

Browse files
committed
Fix typo that makes data get a nibble out of kilter when sending.
1 parent 1e7e5e9 commit a17374d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/MKRWAN_v2.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -781,7 +781,7 @@ class LoRaModem : public Stream
781781
String msg_buf;
782782
// Convert buff to hex
783783
for (size_t i=0; i<len; i++) {
784-
if (buff[i] < 10) {
784+
if (buff[i] < 16) {
785785
msg_buf += "0";
786786
}
787787
msg_buf += String(buff[i], HEX);

0 commit comments

Comments
 (0)