mirror of
https://github.com/hathach/tinyusb.git
synced 2025-03-31 16:20:57 +00:00
fix issue with TUD_OPT_HIGH_SPEED
This commit is contained in:
parent
fd5bb6e5db
commit
a219ba86ea
@ -223,7 +223,7 @@ typedef int make_iso_compilers_happy;
|
|||||||
#define TUSB_OPT_DEVICE_ENABLED CFG_TUD_ENABLED
|
#define TUSB_OPT_DEVICE_ENABLED CFG_TUD_ENABLED
|
||||||
|
|
||||||
// highspeed support indicator
|
// highspeed support indicator
|
||||||
#define TUD_OPT_HIGH_SPEED (CFG_TUD_MAX_SPEED ? CFG_TUD_MAX_SPEED : TUP_RHPORT_HIGHSPEED)
|
#define TUD_OPT_HIGH_SPEED (CFG_TUD_MAX_SPEED ? (CFG_TUD_MAX_SPEED & OPT_MODE_HIGH_SPEED) : TUP_RHPORT_HIGHSPEED)
|
||||||
|
|
||||||
//------------- Roothub as Host -------------//
|
//------------- Roothub as Host -------------//
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user