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:
Karl Palsson
2019-06-02 20:38:01 +00:00
parent 2cd847eab1
commit e0f377fec0
28 changed files with 28 additions and 28 deletions

View File

@@ -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);