summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIngHK <[email protected]>2024-03-31 09:35:38 +0200
committerIngHK <[email protected]>2024-03-31 10:27:15 +0200
commitfe304576d0875646a07ab56493f27a7a249ded35 (patch)
tree2b2034db5c1f75b04ac181b10f38c362da168218
parent37cce8746d7b3b80bf9a19917bf9a2e3c6d85e8c (diff)
reactivated TU_ASSERT(_hcd_data.hirq & HIRQ_SNDBAV_IRQ,);
-rw-r--r--src/portable/analog/max3421/hcd_max3421.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/portable/analog/max3421/hcd_max3421.c b/src/portable/analog/max3421/hcd_max3421.c
index 17d144c07..84ea39d20 100644
--- a/src/portable/analog/max3421/hcd_max3421.c
+++ b/src/portable/analog/max3421/hcd_max3421.c
@@ -625,7 +625,7 @@ void xact_out(uint8_t rhport, max3421_ep_t *ep, bool switch_ep, bool in_isr) {
}
uint8_t const xact_len = (uint8_t) tu_min16(ep->total_len - ep->xferred_len, ep->packet_size);
-// TU_ASSERT(_hcd_data.hirq & HIRQ_SNDBAV_IRQ,);
+ TU_ASSERT(_hcd_data.hirq & HIRQ_SNDBAV_IRQ,);
if (xact_len) {
fifo_write(rhport, SNDFIFO_ADDR, ep->buf, xact_len, in_isr);
}