|
@ -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, |
|
|