mirror of
https://github.com/hathach/tinyusb.git
synced 2025-03-13 19:19:18 +00:00
fix issue 1359
This commit is contained in:
parent
4c6bb161e2
commit
6b2ea2bd1d
@ -218,7 +218,12 @@
|
||||
#endif
|
||||
|
||||
#define CFG_TUD_ENABLED (TUD_RHPORT_MODE & OPT_MODE_DEVICE)
|
||||
|
||||
#if CFG_TUD_ENABLED
|
||||
#define TUD_OPT_HIGH_SPEED ((TUD_RHPORT_MODE & OPT_MODE_SPEED_MASK) ? (TUD_RHPORT_MODE & OPT_MODE_HIGH_SPEED) : (TUP_RHPORT_HIGHSPEED & (1 << TUD_OPT_RHPORT)))
|
||||
#else
|
||||
#define TUD_OPT_HIGH_SPEED 0
|
||||
#endif
|
||||
|
||||
//------------- Roothub as Host -------------//
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user