Skip to content

Commit

Permalink
fixup! cpu/fe310: rework clock initialization
Browse files Browse the repository at this point in the history
  • Loading branch information
aabadie committed Dec 13, 2019
1 parent e3524ee commit 83d34a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cpu/fe310/clock.c
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ void clock_init(void)
PRCI_REG(PRCI_PLLDIV) = (PLL_FINAL_DIV_BY_1(CLOCK_PLL_OUTDIV) | PLL_FINAL_DIV(0));
}
else {
PRCI_REG(PRCI_PLLDIV) = (PLL_FINAL_DIV(CLOCK_PLL_OUTDIV - 1));
PRCI_REG(PRCI_PLLDIV) = (PLL_FINAL_DIV(CLOCK_PLL_OUTDIV - 1));
}

/* Configure PLL */
Expand Down

0 comments on commit 83d34a4

Please sign in to comment.