stm32f4: use 168MHz instead of intermediate 120MHz

120MHz is being removed in the library.
This commit is contained in:
Karl Palsson
2019-06-02 16:02:43 +00:00
parent fed62e7ef4
commit 4f4e6f9ef2
10 changed files with 12 additions and 12 deletions

View File

@@ -105,7 +105,7 @@ static uint8_t usbd_control_buffer[128];
int main(void)
{
rcc_clock_setup_hse_3v3(&rcc_hse_8mhz_3v3[RCC_CLOCK_3V3_120MHZ]);
rcc_clock_setup_hse_3v3(&rcc_hse_8mhz_3v3[RCC_CLOCK_3V3_168MHZ]);
rcc_periph_clock_enable(RCC_GPIOB);
rcc_periph_clock_enable(RCC_OTGHS);