Skip to content

Commit

Permalink
examples/lorawan: remove recv call to avoid endless lock
Browse files Browse the repository at this point in the history
This can highly happen when no message is received from the network after a send
  • Loading branch information
aabadie committed May 29, 2019
1 parent 032f891 commit f2c63c8
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions examples/lorawan/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,6 @@ static void _send_message(void)
printf("Cannot send message '%s', ret code: %d\n", message, ret);
return;
}
/* The send was successfully scheduled, now wait until the send cycle has
completed and a reply is received from the MAC */
semtech_loramac_recv(&loramac);
}

static void *sender(void *arg)
Expand Down

0 comments on commit f2c63c8

Please sign in to comment.