stm32f1:rcc: fix typo in usb prescaler api document

usb scalar value 1.5 is used when clock runs at 72MHz not 64MHz

Reviewed-by: Karl Palsson <karlp@tweak.net.au>
This commit is contained in:
Amitesh Singh 2017-09-01 23:32:46 +09:00 committed by Karl Palsson
parent 821f4a49ea
commit e3c78b8825

View File

@ -556,7 +556,7 @@ void rcc_set_hpre(uint32_t hpre)
/** @brief RCC Set the USB Prescale Factor.
The prescale factor can be set to 1 (no prescale) for use when the PLL clock is
48MHz, or 1.5 to generate the 48MHz USB clock from a 64MHz PLL clock.
48MHz, or 1.5 to generate the 48MHz USB clock from a 72MHz PLL clock.
@note This bit cannot be reset while the USB clock is enabled.