[riot-notifications] [RIOT-OS/RIOT] drivers/at86rf2xx: Provide confirm_send() (#16273)

fabian18 notifications at github.com
Tue Apr 6 11:23:37 CEST 2021


@fabian18 commented on this pull request.



> @@ -116,6 +116,16 @@ uint8_t at86rf2xx_get_status(const at86rf2xx_t *dev)
             & AT86RF2XX_TRX_STATUS_MASK__TRX_STATUS);
 }
 
+bool at86rf2xx_is_busy(const at86rf2xx_t *dev)
+{
+    uint8_t s;
+    while ((s = at86rf2xx_get_status(dev)) == AT86RF2XX_STATE_IN_PROGRESS) {}

Alright, @maribu suggested the same.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/16273#discussion_r607687400
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210406/46e667f2/attachment.htm>


More information about the notifications mailing list