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:
@@ -31,7 +31,7 @@ int _write(int file, char *ptr, int len);
|
||||
|
||||
static void clock_setup(void)
|
||||
{
|
||||
rcc_clock_setup_in_hse_12mhz_out_72mhz();
|
||||
rcc_clock_setup_pll(&rcc_hse_configs[RCC_CLOCK_HSE12_72MHZ]);
|
||||
|
||||
/* Enable GPIOA, GPIOB, GPIOC clock. */
|
||||
rcc_periph_clock_enable(RCC_GPIOA);
|
||||
|
||||
Reference in New Issue
Block a user