Examples updated to use new rcc_periph_clock_enable function
This commit is contained in:
@@ -29,7 +29,7 @@ static void clock_setup(void)
|
||||
rcc_clock_setup_in_hse_8mhz_out_24mhz();
|
||||
|
||||
/* Enable GPIOC clock. */
|
||||
rcc_peripheral_enable_clock(&RCC_APB2ENR, RCC_APB2ENR_IOPCEN);
|
||||
rcc_periph_clock_enable(RCC_GPIOC);
|
||||
}
|
||||
|
||||
static void gpio_setup(void)
|
||||
|
||||
Reference in New Issue
Block a user