tests: stm32f1: use new clock struct routines

master
Karl Palsson 2 years ago
parent 5f051241a8
commit a9608c524f
  1. 2
      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,

Loading…
Cancel
Save