mirror of
https://github.com/hathach/tinyusb.git
synced 2026-08-22 21:11:21 +00:00
USBTEST_QUIRKS is selected by which dcd was built in, so a CH32H417 SuperSpeed image advertised the USB3 erratum (0x20) even while driving the USBHS block at 480 Mbps under CFG_TUD_WCH_USB30_FALLBACK, and the five control cases that silicon cannot pass ran and failed as regressions. bcdDevice's quirk nibble is now patched from tud_speed_get() at descriptor time; the compile-time macro still covers every non-WCH part. Built and reasoned only: the fallback link needs the USB2 tap inline to come up at all, so this is not measured on hardware.