[riot-notifications] [RIOT-OS/RIOT] Blocking mode for USBUS CDC ACM STDIO (see #16500) (#16508)

Antonio Galea notifications at github.com
Fri May 28 11:59:31 CEST 2021


@ant9000 commented on this pull request.



> +            xtimer_set(&timeout, XTIMER_BACKOFF+1); // shortest possible non-spinning wait
+            thread_sleep();

Probably at all, if you say so :-)
I've tried xtimer_usleep but it was getting stuck, so I started digging further and came up with the awkward solution you see. I just did not realize it was only me waiting for too short a time, likely - I'll test againg.
Thanks for the tip!

-- 
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/16508#discussion_r641427881
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210528/c622a8c7/attachment.htm>


More information about the notifications mailing list