Browse Source

tests: stm32f1: use new clock struct routines

pull/1274/head
Karl Palsson 4 years ago
parent
commit
a9608c524f
  1. 2
      tests/gadget-zero/main-stm32f103-generic.c

2
tests/gadget-zero/main-stm32f103-generic.c

@ -35,7 +35,7 @@
int main(void) 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 */ /* LED to indicate boot process */
rcc_periph_clock_enable(RCC_GPIOC); rcc_periph_clock_enable(RCC_GPIOC);
gpio_set_mode(GPIOC, GPIO_MODE_OUTPUT_2_MHZ, gpio_set_mode(GPIOC, GPIO_MODE_OUTPUT_2_MHZ,

Loading…
Cancel
Save