aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2013-04-23 10:31:58 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2013-04-23 10:31:58 +0000
commit3911a83e6e485dd33509ace85dab37922cdc5da9 (patch)
treeae1850f7a3f270a73726a0bbcfe6037bf1b54f6e
parent1226f1804e6e35748f628ca9c6299b71b98c71c9 (diff)
downloadChibiOS-3911a83e6e485dd33509ace85dab37922cdc5da9.tar.gz
ChibiOS-3911a83e6e485dd33509ace85dab37922cdc5da9.tar.bz2
ChibiOS-3911a83e6e485dd33509ace85dab37922cdc5da9.zip
Fixed wrong preprocessor check.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@5607 35acf78f-673a-0410-8e92-d51de3d6d3f4
-rw-r--r--os/hal/platforms/SPC563Mxx/hal_lld.h2
-rw-r--r--os/hal/platforms/SPC564Axx/hal_lld.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/os/hal/platforms/SPC563Mxx/hal_lld.h b/os/hal/platforms/SPC563Mxx/hal_lld.h
index 15ae669f3..eec53fd5a 100644
--- a/os/hal/platforms/SPC563Mxx/hal_lld.h
+++ b/os/hal/platforms/SPC563Mxx/hal_lld.h
@@ -132,7 +132,7 @@
* @brief External clock pre-divider.
* @note Must be in range 1...15.
*/
-#if !defined(SPC5_CLK_PREDIV) || defined(__DOXYGEN__)
+#if !defined(SPC5_CLK_PREDIV_VALUE) || defined(__DOXYGEN__)
#define SPC5_CLK_PREDIV_VALUE 2
#endif
diff --git a/os/hal/platforms/SPC564Axx/hal_lld.h b/os/hal/platforms/SPC564Axx/hal_lld.h
index da8bcf26a..196646a04 100644
--- a/os/hal/platforms/SPC564Axx/hal_lld.h
+++ b/os/hal/platforms/SPC564Axx/hal_lld.h
@@ -132,7 +132,7 @@
* @brief External clock pre-divider.
* @note Must be in range 1...15.
*/
-#if !defined(SPC5_CLK_PREDIV) || defined(__DOXYGEN__)
+#if !defined(SPC5_CLK_PREDIV_VALUE) || defined(__DOXYGEN__)
#define SPC5_CLK_PREDIV_VALUE 8
#endif