Corrected the clock lookup table.
Due to copypasta we were using the hse table for hsi clocks.
This commit is contained in:
@@ -195,7 +195,7 @@ void usb_lp_can_rx0_isr(void)
|
||||
|
||||
int main(void)
|
||||
{
|
||||
rcc_clock_setup_pll(&rcc_hse_configs[RCC_CLOCK_HSI_64MHZ]);
|
||||
rcc_clock_setup_pll(&rcc_hsi_configs[RCC_CLOCK_HSI_64MHZ]);
|
||||
gpio_setup();
|
||||
can_setup();
|
||||
systick_setup();
|
||||
|
||||
Reference in New Issue
Block a user