call xfer_complete_isr() when result is not successful (stalled or failed)

This commit is contained in:
hathach
2023-08-30 16:04:18 +07:00
parent 2a814a99af
commit 1ab488eb06
5 changed files with 47 additions and 16 deletions

View File

@@ -390,7 +390,7 @@
// External USB controller
//--------------------------------------------------------------------+
#if defined(CFG_TUH_MAX3421) & CFG_TUH_MAX3421
#if defined(CFG_TUH_MAX3421) && CFG_TUH_MAX3421
#ifndef CFG_TUH_MAX3421_ENDPOINT_TOTAL
#define CFG_TUH_MAX3421_ENDPOINT_TOTAL (8 + 4*(CFG_TUH_DEVICE_MAX-1))
#endif