mirror of
https://github.com/openmv/openmv.git
synced 2025-11-04 14:49:50 +08:00
Fix USB divider
This commit is contained in:
parent
d00ee2d083
commit
103f67801c
@ -8,7 +8,7 @@ void rcc_ctrl_set_frequency(enum sysclk_freq freq)
|
||||
int freqs[] = {42, 84, 168, 200, 240};
|
||||
|
||||
/* USB freqs: 42MHz, 42Mhz, 48MHz, 50MHz, 48MHz */
|
||||
int pll_div[] = {2, 4, 7, 10, 10};
|
||||
int pll_div[] = {2, 4, 7, 8, 10};
|
||||
|
||||
/* PLL_VCO = (HSE_VALUE / PLL_M) * PLL_N */
|
||||
/* SYSCLK = PLL_VCO / PLL_P */
|
||||
|
||||
Loading…
Reference in New Issue
Block a user