From a9608c524f9e1b43fdb242532dda3943e4dbb488 Mon Sep 17 00:00:00 2001 From: Karl Palsson Date: Sun, 25 Oct 2020 18:49:26 +0000 Subject: [PATCH] tests: stm32f1: use new clock struct routines --- tests/gadget-zero/main-stm32f103-generic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/gadget-zero/main-stm32f103-generic.c b/tests/gadget-zero/main-stm32f103-generic.c index 5e701dea..f6b502a0 100644 --- a/tests/gadget-zero/main-stm32f103-generic.c +++ b/tests/gadget-zero/main-stm32f103-generic.c @@ -35,7 +35,7 @@ int main(void) { - rcc_clock_setup_in_hse_8mhz_out_72mhz(); + rcc_clock_setup_pll(&rcc_hsi_configs[RCC_CLOCK_HSI_48MHZ]); /* LED to indicate boot process */ rcc_periph_clock_enable(RCC_GPIOC); gpio_set_mode(GPIOC, GPIO_MODE_OUTPUT_2_MHZ,