Added 12MHz external clock rcc setup routine.

This commit is contained in:
Piotr Esden-Tempski
2011-03-09 14:06:58 -08:00
parent ef766da468
commit 7073637430
2 changed files with 55 additions and 1 deletions

View File

@@ -24,7 +24,7 @@
/* Set STM32 to 72 MHz. */
void clock_setup(void)
{
rcc_clock_setup_in_hse_16mhz_out_72mhz();
rcc_clock_setup_in_hse_12mhz_out_72mhz();
/* Enable GPIOC clock. */
rcc_peripheral_enable_clock(&RCC_APB2ENR, RCC_APB2ENR_IOPBEN);