1
0
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:
Alexandre Abadie 2019-05-17 11:36:59 +02:00
parent 032f89145a
commit f2c63c86fd
No known key found for this signature in database
GPG Key ID: 1C919A403CAE1405

View File

@ -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)