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:
@@ -50,7 +50,7 @@ void sys_tick_handler(void)
|
||||
|
||||
int main(void)
|
||||
{
|
||||
rcc_clock_setup_in_hse_16mhz_out_72mhz();
|
||||
rcc_clock_setup_pll(&rcc_hse_configs[RCC_CLOCK_HSE16_72MHZ]);
|
||||
gpio_setup();
|
||||
|
||||
gpio_clear(GPIOB, GPIO7); /* LED1 on */
|
||||
|
||||
Reference in New Issue
Block a user