Updated all rcc_clock_setups to use the new lookup tables.
The old "one function per config" system is depricated for quite a while now...
This commit is contained in:
@@ -234,7 +234,7 @@ int main(void)
|
||||
{
|
||||
usbd_device *usbd_dev;
|
||||
|
||||
rcc_clock_setup_in_hsi_out_48mhz();
|
||||
rcc_clock_setup_pll(&rcc_hse_configs[RCC_CLOCK_HSI_48MHZ]);
|
||||
|
||||
rcc_periph_clock_enable(RCC_GPIOA);
|
||||
rcc_periph_clock_enable(RCC_AFIO);
|
||||
|
||||
Reference in New Issue
Block a user