mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
examples/lorawan: remove recv call to avoid endless lock
This can highly happen when no message is received from the network after a send
This commit is contained in:
parent
032f89145a
commit
f2c63c86fd
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user