[riot-notifications] [RIOT-OS/RIOT] at86rf2xx: Use AWAKE_END IRQ to detect exit from SLEEP mode (#8230)

biboc notifications at github.com
Mon Dec 11 14:51:39 CET 2017

biboc commented on this pull request.

> @@ -48,6 +49,8 @@ void at86rf2xx_setup(at86rf2xx_t *dev, const at86rf2xx_params_t *params)
     /* radio state is P_ON when first powered-on */
     dev->state = AT86RF2XX_STATE_P_ON;
     dev->pending_tx = 0;
+    mutex_init(&dev->mutex_sleep);
+    mutex_lock(&dev->mutex_sleep);

So we shouldn't lock it here otherwise it blocks?

You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20171211/6b02e5a1/attachment.html>

More information about the notifications mailing list