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);
|
printf("Cannot send message '%s', ret code: %d\n", message, ret);
|
||||||
return;
|
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)
|
static void *sender(void *arg)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user