Browse Source

Fixed compile warning, function declaration in rcc.h wrong

pull/178/head
Federico Ruiz Ugalde 12 years ago
committed by Piotr Esden-Tempski
parent
commit
45035f2f3c
  1. 2
      lib/stm32/f3/rcc.c

2
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 the clock source which is used as system clock. */
return ((RCC_CFGR & 0x000c) >> 2); return ((RCC_CFGR & 0x000c) >> 2);

Loading…
Cancel
Save