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.
1 parent 80ed738 commit f1c96cbCopy full SHA for f1c96cb
ext/hathach/module.lb
@@ -45,7 +45,7 @@ def prepare(module, options):
45
EnumerationOption(name="speed",
46
description="USB Port Speed",
47
enumeration={"full": "fs", "high": "hs"},
48
- default="full",
+ default="high" if options[":target"].has_driver("usb_otg_hs") else "full",
49
dependencies=lambda s: ":platform:usb:{}s".format(s[0])))
50
51
module.add_submodule(TinyUsbDeviceModule())
0 commit comments