stm32f4: use new rcc_clock_setup_pll()
Batch replaced to use new api. User code doesn't need this, but examples should be up to date, and this avoids deprecation warnings.
This commit is contained in:
@@ -104,7 +104,7 @@ static uint8_t usbd_control_buffer[128];
|
||||
|
||||
int main(void)
|
||||
{
|
||||
rcc_clock_setup_hse_3v3(&rcc_hse_8mhz_3v3[RCC_CLOCK_3V3_168MHZ]);
|
||||
rcc_clock_setup_pll(&rcc_hse_8mhz_3v3[RCC_CLOCK_3V3_168MHZ]);
|
||||
|
||||
rcc_periph_clock_enable(RCC_GPIOA);
|
||||
rcc_periph_clock_enable(RCC_OTGFS);
|
||||
|
||||
Reference in New Issue
Block a user