adding host/cdc_msc_hid_freertos example

This commit is contained in:
hathach
2023-09-25 16:53:11 +07:00
parent 81cd995108
commit a7c136c03f
20 changed files with 623 additions and 112 deletions

View File

@@ -882,7 +882,7 @@ void hcd_int_handler(uint8_t rhport) {
if ( hirq & HIRQ_RCVDAV_IRQ ) {
uint8_t const ep_num = _hcd_data.hxfr & HXFR_EPNUM_MASK;
max3421_ep_t *ep = find_opened_ep(_hcd_data.peraddr, ep_num, 1);
uint8_t xact_len;
uint8_t xact_len = 0;
// RCVDAV_IRQ can trigger 2 times (dual buffered)
while ( hirq & HIRQ_RCVDAV_IRQ ) {