mcci-catena / Arduino_Core_STM32

STM32 core support for Arduino
2 stars 7 forks source link

Change SystemClock_Config() to take a speed parameter #194

Open terrillmoore opened 2 years ago

terrillmoore commented 2 years ago

Up through v3.0.5, SystemClock_Config() uses a compile-time constant clock parameter to select the active clock. This is inflexible; we want to change clocks at runtime. Change it to take a suitable input parameter.