Corrected the clock lookup table.
Due to copypasta we were using the hse table for hsi clocks.
This commit is contained in:
@@ -276,7 +276,7 @@ static void hid_set_config(usbd_device *dev, uint16_t wValue)
|
||||
|
||||
int main(void)
|
||||
{
|
||||
rcc_clock_setup_pll(&rcc_hse_configs[RCC_CLOCK_HSI_48MHZ]);
|
||||
rcc_clock_setup_pll(&rcc_hsi_configs[RCC_CLOCK_HSI_48MHZ]);
|
||||
|
||||
rcc_periph_clock_enable(RCC_GPIOA);
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user