aboutsummaryrefslogtreecommitdiffstats
path: root/app/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'app/main.c')
-rw-r--r--app/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/main.c b/app/main.c
index 2ac458f..b6b5039 100644
--- a/app/main.c
+++ b/app/main.c
@@ -7,7 +7,7 @@
int main (void)
{
/*set up pll */
- rcc_clock_setup_in_hse_8mhz_out_72mhz();
+ rcc_clock_setup_pll(&rcc_hse_configs[RCC_CLOCK_HSE8_72MHZ]);
/*turn on clocks to periferals */
rcc_periph_clock_enable (RCC_GPIOA);
rcc_periph_clock_enable (RCC_GPIOB);