From 45035f2f3c7069d8c8804b06e7117d4081844ed7 Mon Sep 17 00:00:00 2001 From: Federico Ruiz Ugalde Date: Tue, 25 Jun 2013 20:54:24 -0600 Subject: [PATCH] Fixed compile warning, function declaration in rcc.h wrong --- lib/stm32/f3/rcc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/stm32/f3/rcc.c b/lib/stm32/f3/rcc.c index 08d5bb71..14c0c4da 100644 --- a/lib/stm32/f3/rcc.c +++ b/lib/stm32/f3/rcc.c @@ -371,7 +371,7 @@ void rcc_set_main_pll_hsi(uint32_t pll) } -uint32_t rcc_system_clock_source(void) +uint32_t rcc_get_system_clock_source(void) { /* Return the clock source which is used as system clock. */ return ((RCC_CFGR & 0x000c) >> 2);