aboutsummaryrefslogtreecommitdiffstats
path: root/os
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2010-08-14 06:40:28 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2010-08-14 06:40:28 +0000
commit877faae2cf710ff09ae7b9b13b9cd3ae836163cd (patch)
treed367827563f91c9ba51f646be31f561d5ea00b05 /os
parent78c71e487083d8489d1b9fedc1cd1ca68385f7ec (diff)
downloadChibiOS-877faae2cf710ff09ae7b9b13b9cd3ae836163cd.tar.gz
ChibiOS-877faae2cf710ff09ae7b9b13b9cd3ae836163cd.tar.bz2
ChibiOS-877faae2cf710ff09ae7b9b13b9cd3ae836163cd.zip
Fixed bug 3044758.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@2127 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os')
-rw-r--r--os/hal/platforms/STM32/hal_lld_f103.h4
-rw-r--r--os/hal/platforms/STM32/hal_lld_f105_f107.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/os/hal/platforms/STM32/hal_lld_f103.h b/os/hal/platforms/STM32/hal_lld_f103.h
index 5149725ea..b58a6778e 100644
--- a/os/hal/platforms/STM32/hal_lld_f103.h
+++ b/os/hal/platforms/STM32/hal_lld_f103.h
@@ -336,8 +336,8 @@
#endif
/* AHB frequency check.*/
-#if STM32_HPRE > 72000000
-#error "STM32_HPRE exceeding maximum frequency (72MHz)"
+#if STM32_HCLK > 72000000
+#error "STM32_HCLK exceeding maximum frequency (72MHz)"
#endif
/**
diff --git a/os/hal/platforms/STM32/hal_lld_f105_f107.h b/os/hal/platforms/STM32/hal_lld_f105_f107.h
index 54b39de71..d68166ba0 100644
--- a/os/hal/platforms/STM32/hal_lld_f105_f107.h
+++ b/os/hal/platforms/STM32/hal_lld_f105_f107.h
@@ -429,8 +429,8 @@
#endif
/* AHB frequency check.*/
-#if STM32_HPRE > 72000000
-#error "STM32_HPRE exceeding maximum frequency (72MHz)"
+#if STM32_HCLK > 72000000
+#error "STM32_HCLK exceeding maximum frequency (72MHz)"
#endif
/**