~ruther/stm32h747i-disco-usb-image-viewer

ref: 079ff751c0e9b65d936aa656e697257faebbb871 stm32h747i-disco-usb-image-viewer/src/queue.c -rw-r--r-- 1.9 KiB
079ff751 — Rutherther 1 year, 1 month ago
feat: implement cdc application layer, fix enumeration
f4b4b64a — Rutherther 1 year, 1 month ago
fix: make queue thread safe
9db48e96 — Rutherther 1 year, 1 month ago
feat: use task_result to indicate blocking

There should be no spin loops inside of the
interrupts, so this change removes them,
and instead uses a result system that has
WOULD_BLOCK result. When this result is returned,
it is expected there was no side-effect and the
function can safely be reran later.