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:
@@ -168,7 +168,7 @@ static void my_usart_print_int(uint32_t usart, int value)
|
||||
int main(void)
|
||||
{
|
||||
|
||||
rcc_clock_setup_in_hse_12mhz_out_72mhz();
|
||||
rcc_clock_setup_pll(&rcc_hse_configs[RCC_CLOCK_HSE12_72MHZ]);
|
||||
gpio_setup();
|
||||
usart_setup();
|
||||
timer_setup();
|
||||
|
||||
Reference in New Issue
Block a user