improve connection & disconnection detection. But there is still issue when CONDETIRQ occurs but we are disabled interrupt (for osal queue access).

This commit is contained in:
hathach
2023-08-31 16:52:09 +07:00
parent 41493426b3
commit 3b7d5aa042
4 changed files with 74 additions and 92 deletions

View File

@@ -852,7 +852,7 @@ bool usbh_edpt_xfer_with_callback(uint8_t dev_addr, uint8_t ep_addr, uint8_t * b
ep_state->busy = 0;
ep_state->claimed = 0;
TU_LOG1("Failed\r\n");
TU_BREAKPOINT();
// TU_BREAKPOINT();
return false;
}
}