aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--os/hal/platforms/STM32/hal_lld_f100.h2
-rw-r--r--readme.txt1
2 files changed, 2 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
diff --git a/readme.txt b/readme.txt
index 177cde14b..54290d850 100644
--- a/readme.txt
+++ b/readme.txt
@@ -71,6 +71,7 @@
*****************************************************************************
*** 2.3.3 ***
+- FIX: Fixed wrong APB1 frequency check (bug 3361039)(backported to 2.2.7).
- FIX: Fixed missing state in shell demos (bug 3351556)(backported to 2.2.7).
- FIX: Fixed race condition in Cortex-Mx ports (bug 3317500)(backported
to 2.2.6).