summaryrefslogtreecommitdiff
path: root/examples/device/device_virtual_com/src
diff options
context:
space:
mode:
authorice458 <[email protected]>2026-08-14 16:23:38 +0900
committerice458 <[email protected]>2026-08-14 16:23:38 +0900
commitaf81f9ef42254301c2239eed657b0adce8b466b0 (patch)
treec80bd661f33d9daa1e43c2699ddaca3bf1c99b34 /examples/device/device_virtual_com/src
parent282d46e68d9100af0dfdcc01e7689bb63bbf8419 (diff)
usbtmc: document why the trigger re-arm result is ignored
A false return from tud_usbtmc_start_bus_read() here does not mean arming failed: it means the endpoint is already armed, either because the application re-armed it from its trigger callback or because a transfer is still queued (usbd_edpt_xfer() reports failure when the endpoint is busy). Both cases end in STATE_IDLE, so the state cannot disambiguate them either, and stalling on the result would halt a healthy endpoint. Co-Authored-By: Claude Opus 5 <[email protected]>
Diffstat (limited to 'examples/device/device_virtual_com/src')
0 files changed, 0 insertions, 0 deletions