Browse Source
rcc_set_pll_divisor() would take the number we wanted to divide the 400MHz clock and put it directly in the RCC2 register. This caused the clock to always be one speed tier slower than expected. The value of the divisor must be decremented by 1, so a divisor of 5 will be written as 4 in the RCC2. Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>pull/143/head
Alexandru Gagniuc
12 years ago
1 changed files with 1 additions and 1 deletions
Loading…
Reference in new issue