stm32-rs / synopsys-usb-otg

usb-device implementation for Synopsys USB OTG IP cores
MIT License
41 stars 29 forks source link

Fix TRDT calculation #8

Closed Disasm closed 4 years ago

Disasm commented 4 years ago

The condition used there is wrong (it should be inverted, see https://github.com/stm32-rs/stm32h7xx-hal/pull/108#discussion_r460713879) and also TRDT should be calculated based on the actual enumeration speed.