aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/platforms/SPC564Axx/spc564a_registry.h
diff options
context:
space:
mode:
authorpcirillo <pcirillo@35acf78f-673a-0410-8e92-d51de3d6d3f4>2013-06-01 08:46:31 +0000
committerpcirillo <pcirillo@35acf78f-673a-0410-8e92-d51de3d6d3f4>2013-06-01 08:46:31 +0000
commitee5f4545778c7712d0fcc0dfbd8c5b11a89d1027 (patch)
tree543fd18e4eb61e93638bd24373e9dd808a17e6f8 /os/hal/platforms/SPC564Axx/spc564a_registry.h
parent09b9d8de341c01ad93ca7885d771750fe84419d8 (diff)
downloadChibiOS-ee5f4545778c7712d0fcc0dfbd8c5b11a89d1027.tar.gz
ChibiOS-ee5f4545778c7712d0fcc0dfbd8c5b11a89d1027.tar.bz2
ChibiOS-ee5f4545778c7712d0fcc0dfbd8c5b11a89d1027.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@5783 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/platforms/SPC564Axx/spc564a_registry.h')
-rw-r--r--os/hal/platforms/SPC564Axx/spc564a_registry.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/os/hal/platforms/SPC564Axx/spc564a_registry.h b/os/hal/platforms/SPC564Axx/spc564a_registry.h
index 6002453c9..e23cf4281 100644
--- a/os/hal/platforms/SPC564Axx/spc564a_registry.h
+++ b/os/hal/platforms/SPC564Axx/spc564a_registry.h
@@ -112,7 +112,7 @@
#define SPC5_EMIOS_FLAG_F22_NUMBER 208
#define SPC5_EMIOS_FLAG_F23_NUMBER 209
-#define SPC5_EMIOS_CLK (64000000 / \
+#define SPC5_EMIOS_CLK (SPC5_SYSCLK / \
SPC5_EMIOS_GLOBAL_PRESCALER)
#define SPC5_EMIOS_ENABLE_CLOCK()
#define SPC5_EMIOS_DISABLE_CLOCK()