stm32f4: use 168MHz instead of intermediate 120MHz

120MHz is being removed in the library.
This commit is contained in:
Karl Palsson
2019-06-02 16:02:43 +00:00
parent fed62e7ef4
commit 4f4e6f9ef2
10 changed files with 12 additions and 12 deletions

View File

@@ -25,8 +25,8 @@
static void clock_setup(void)
{
/* Enable high-speed clock at 120MHz */
rcc_clock_setup_hse_3v3(&rcc_hse_8mhz_3v3[RCC_CLOCK_3V3_120MHZ]);
/* Enable high-speed clock */
rcc_clock_setup_hse_3v3(&rcc_hse_8mhz_3v3[RCC_CLOCK_3V3_168MHZ]);
/* Enable GPIOD clock for LED & USARTs. */
rcc_periph_clock_enable(RCC_GPIOD);