aboutsummaryrefslogtreecommitdiffstats
path: root/os
diff options
context:
space:
mode:
Diffstat (limited to 'os')
-rw-r--r--os/hal/platforms/STM32/hal_lld_f100.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/os/hal/platforms/STM32/hal_lld_f100.h b/os/hal/platforms/STM32/hal_lld_f100.h
index 571682e38..aad199528 100644
--- a/os/hal/platforms/STM32/hal_lld_f100.h
+++ b/os/hal/platforms/STM32/hal_lld_f100.h
@@ -343,7 +343,7 @@
#endif
/* APB1 frequency check.*/
-#if STM32_PCLK2 > 24000000
+#if STM32_PCLK1 > 24000000
#error "STM32_PCLK1 exceeding maximum frequency (24MHz)"
#endif