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:
Piotr Esden-Tempski
2021-06-19 00:56:57 -07:00
parent 02f48ef616
commit e599e34073
73 changed files with 73 additions and 73 deletions
@@ -80,7 +80,7 @@ int main(void)
static void init_system(void)
{
/* setup SYSCLK to work with 64Mhz HSI */
rcc_clock_setup_in_hsi_out_64mhz();
rcc_clock_setup_pll(&rcc_hse_configs[RCC_CLOCK_HSI_64MHZ]);
init_usart();
}