Changed examples to new rcc definitions.

This commit is contained in:
Thomas Otto
2010-05-11 14:50:55 +02:00
parent b2bca1f1a4
commit d08ee7e333
12 changed files with 29 additions and 29 deletions

View File

@@ -26,7 +26,7 @@ void clock_setup(void)
rcc_clock_setup_in_hse_8mhz_out_72mhz();
/* Enable GPIOC clock. */
rcc_peripheral_enable_clock(&RCC_APB2ENR, IOPCEN);
rcc_peripheral_enable_clock(&RCC_APB2ENR, RCC_APB2ENR_IOPCEN);
}