Skip to content

Commit cbc4876

Browse files
committed
Fix #408: correct length of app uplink
1 parent a5967e2 commit cbc4876

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/compliance-otaa-halconfig/compliance-otaa-halconfig.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -541,7 +541,7 @@ void do_send(osjob_t* j){
541541
Serial.println(F("test mode, not sending"));
542542
} else {
543543
// Prepare upstream data transmission at the next possible time.
544-
if (LMIC_sendWithCallback_strict(1, mydata, sizeof(mydata)-1, 0, sendComplete, j) == 0) {
544+
if (LMIC_sendWithCallback_strict(1, mydata, sizeof(mydata), 0, sendComplete, j) == 0) {
545545
Serial.println(F("Packet queued"));
546546
} else {
547547
Serial.println(F("Packet queue failure; sleeping"));

0 commit comments

Comments
 (0)