mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-17 05:12:57 +01:00
drivers/usbdev_synopsys_dwc2: fix a typo
This commit is contained in:
parent
98b6d75c14
commit
d35fa914c8
@ -997,7 +997,7 @@ static void _usbdev_init(usbdev_t *dev)
|
||||
_flush_tx_fifo(conf, 0x10);
|
||||
|
||||
/* Values from the reference manual tables on TRDT configuration *
|
||||
* 0x09 for 24Mhz ABH frequency, 0x06 for 32Mhz or higher AHB frequency */
|
||||
* 0x09 for 24Mhz AHB frequency, 0x06 for 32Mhz or higher AHB frequency */
|
||||
uint8_t trdt = conf->type == DWC2_USB_OTG_FS ? 0x06 : 0x09;
|
||||
_global_regs(conf)->GUSBCFG =
|
||||
(_global_regs(conf)->GUSBCFG & ~USB_OTG_GUSBCFG_TRDT) |
|
||||
|
Loading…
Reference in New Issue
Block a user