OLIMEX STM32-H107 has a 25MHz crystal
This commit is contained in:
@@ -100,7 +100,7 @@ int main(void)
|
||||
{
|
||||
usbd_device *usbd_dev;
|
||||
|
||||
rcc_clock_setup_in_hse_8mhz_out_72mhz();
|
||||
rcc_clock_setup_in_hse_25mhz_out_72mhz();
|
||||
|
||||
rcc_peripheral_enable_clock(&RCC_APB2ENR, RCC_APB2ENR_IOPAEN);
|
||||
rcc_peripheral_enable_clock(&RCC_APB2ENR, RCC_APB2ENR_IOPCEN);
|
||||
|
||||
Reference in New Issue
Block a user