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

ref: ab39a86aea45a33d7e248dbc4e68f833cd23b723 stm32h747i-disco-usb-image-viewer/src/queue.c -rw-r--r-- 1.9 KiB
079ff751 — Rutherther 4 months ago
feat: implement cdc application layer, fix enumeration
f4b4b64a — Rutherther 4 months ago
fix: make queue thread safe
9db48e96 — Rutherther 5 months 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.
Do not follow this link