[riot-notifications] [RIOT-OS/RIOT] usbus: Use atomic_utils for endpoint flag operations (#15734)

Koen Zandberg notifications at github.com
Sun Jan 10 11:39:04 CET 2021


### Contribution description

Replaces the two critical sections in the usbus thread code with calls from atomic_utils.

### Testing procedure

`tests/usbus` and hooking up one of the other test applications on a board to a host is enough here.

### Issues/PRs references

None
You can view, comment on, or merge this pull request online at:

  https://github.com/RIOT-OS/RIOT/pull/15734

-- Commit Summary --

  * usbus: Use atomic_utils for endpoint flag operations

-- File Changes --

    M sys/usb/usbus/usbus.c (27)

-- Patch Links --

https://github.com/RIOT-OS/RIOT/pull/15734.patch
https://github.com/RIOT-OS/RIOT/pull/15734.diff

-- 
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/15734
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210110/55b81e88/attachment.htm>


More information about the notifications mailing list