Examples updated to use new rcc_periph_clock_enable function
This commit is contained in:
@@ -62,7 +62,7 @@ static void clock_setup(void)
|
||||
rcc_clock_setup_hse_3v3(&hse_8mhz_3v3[CLOCK_3V3_168MHZ]);
|
||||
|
||||
/* Enable GPIOD clock. */
|
||||
rcc_peripheral_enable_clock(&RCC_AHB1ENR, RCC_AHB1ENR_IOPDEN);
|
||||
rcc_periph_clock_enable(RCC_GPIOD);
|
||||
}
|
||||
|
||||
static void gpio_setup(void)
|
||||
|
||||
Reference in New Issue
Block a user