Fixed compile warning, function declaration in rcc.h wrong

This commit is contained in:
Federico Ruiz Ugalde 2013-06-25 20:54:24 -06:00 committed by Piotr Esden-Tempski
parent 44874100c6
commit 45035f2f3c
1 changed files with 1 additions and 1 deletions

View File

@ -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);