Skip to content
Snippets Groups Projects
Commit 1b21eac4 authored by Tristan Bruns's avatar Tristan Bruns
Browse files

cpu/stm32_common: fix clk_conf

parent a82930cf
No related branches found
No related tags found
No related merge requests found
......@@ -405,7 +405,7 @@ int main(int argc, char **argv)
break;
}
}
if (cfg->family == STM32F0) {
if (cfg->family != STM32F0) {
for (apb2_pre = 1; apb2_pre <= 16; apb2_pre <<= 1) {
if (coreclock / apb2_pre <= cfg->max_apb2) {
break;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment