mirror of
https://github.com/hathach/tinyusb.git
synced 2025-02-21 03:40:52 +00:00
reactivated TU_ASSERT(_hcd_data.hirq & HIRQ_SNDBAV_IRQ,);
This commit is contained in:
parent
37cce8746d
commit
fe304576d0
@ -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);
|
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) {
|
if (xact_len) {
|
||||||
fifo_write(rhport, SNDFIFO_ADDR, ep->buf, xact_len, in_isr);
|
fifo_write(rhport, SNDFIFO_ADDR, ep->buf, xact_len, in_isr);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user