From f2c63c86fdb49cb8fe85e52ac4521899e035e785 Mon Sep 17 00:00:00 2001 From: Alexandre Abadie Date: Fri, 17 May 2019 11:36:59 +0200 Subject: [PATCH] examples/lorawan: remove recv call to avoid endless lock This can highly happen when no message is received from the network after a send --- examples/lorawan/main.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/examples/lorawan/main.c b/examples/lorawan/main.c index da2e43212d..f323e52124 100644 --- a/examples/lorawan/main.c +++ b/examples/lorawan/main.c @@ -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)