Corrected the clock lookup table.
Due to copypasta we were using the hse table for hsi clocks.
This commit is contained in:
@@ -23,7 +23,7 @@
|
||||
static void clock_setup(void)
|
||||
{
|
||||
/* Set STM32 to 64 MHz. */
|
||||
rcc_clock_setup_pll(&rcc_hse_configs[RCC_CLOCK_HSI_64MHZ]);
|
||||
rcc_clock_setup_pll(&rcc_hsi_configs[RCC_CLOCK_HSI_64MHZ]);
|
||||
|
||||
/* Enable alternate function peripheral clock. */
|
||||
rcc_periph_clock_enable(RCC_AFIO);
|
||||
|
||||
Reference in New Issue
Block a user