moving esp32s2 to dwc2, abstract dwc2_set_turnaround()

This commit is contained in:
hathach
2021-10-25 15:51:41 +07:00
parent a0202df920
commit 4ccf60954d
8 changed files with 222 additions and 101 deletions

View File

@@ -131,7 +131,7 @@
// Helper to check if configured MCU is one of listed
// Apply _TU_CHECK_MCU with || as separator to list of input
#define _TU_CHECK_MCU(_m) (CFG_TUSB_MCU == OPT_MCU_##_m)
#define TU_CHECK_MCU(...) TU_ARGS_APPLY(_TU_CHECK_MCU, ||, __VA_ARGS__)
#define TU_CHECK_MCU(...) (TU_ARGS_APPLY(_TU_CHECK_MCU, ||, __VA_ARGS__))
//--------------------------------------------------------------------+
// Supported OS