diff options
| author | hathach <[email protected]> | 2023-08-30 16:04:18 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2023-08-30 16:04:18 +0700 |
| commit | 1ab488eb06ef4cb8ad9c0cff91e6b0caf76f73c4 (patch) | |
| tree | c0716094ba72c4ff47510bb08de779ae3c0786fa /src/common | |
| parent | 2a814a99af32bf084cbb730d97e3c9cb31a3fa85 (diff) | |
call xfer_complete_isr() when result is not successful (stalled or failed)
Diffstat (limited to 'src/common')
| -rw-r--r-- | src/common/tusb_mcu.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/tusb_mcu.h b/src/common/tusb_mcu.h index 21939df7c..8807ff8aa 100644 --- a/src/common/tusb_mcu.h +++ b/src/common/tusb_mcu.h @@ -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 |
