We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents fd5bb6e + a219ba8 commit 251ce98Copy full SHA for 251ce98
src/tusb_option.h
@@ -223,7 +223,7 @@ typedef int make_iso_compilers_happy;
223
#define TUSB_OPT_DEVICE_ENABLED CFG_TUD_ENABLED
224
225
// highspeed support indicator
226
-#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)
227
228
//------------- Roothub as Host -------------//
229
0 commit comments