summaryrefslogtreecommitdiff
path: root/src/class/cdc
diff options
context:
space:
mode:
authorHiFiPhile <[email protected]>2025-06-22 17:19:08 +0200
committerHiFiPhile <[email protected]>2025-06-22 17:19:08 +0200
commitd789a87a7dd65b947f81b320c34d12e140d251ac (patch)
tree5fc18beefb1af7fa9a5ee56a6c5a5eea5770e8fb /src/class/cdc
parent459e2cd39ece797eb35f74ccace0db0a588b795a (diff)
parente95973d3462cdacd165a4057632d46248ded7b8a (diff)
Merge branch 'master' into async_io
Signed-off-by: HiFiPhile <[email protected]>
Diffstat (limited to 'src/class/cdc')
-rw-r--r--src/class/cdc/cdc_host.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/class/cdc/cdc_host.c b/src/class/cdc/cdc_host.c
index 4058857c5..bf245db3f 100644
--- a/src/class/cdc/cdc_host.c
+++ b/src/class/cdc/cdc_host.c
@@ -672,7 +672,7 @@ void cdch_close(uint8_t daddr) {
bool cdch_xfer_cb(uint8_t daddr, uint8_t ep_addr, xfer_result_t event, uint32_t xferred_bytes) {
// TODO handle stall response, retry failed transfer ...
- TU_ASSERT(event == XFER_RESULT_SUCCESS);
+ TU_VERIFY(event == XFER_RESULT_SUCCESS);
uint8_t const idx = get_idx_by_ep_addr(daddr, ep_addr);
cdch_interface_t * p_cdc = get_itf(idx);