diff options
author | Giovanni Di Sirio <gdisirio@gmail.com> | 2017-12-06 16:22:42 +0000 |
---|---|---|
committer | Giovanni Di Sirio <gdisirio@gmail.com> | 2017-12-06 16:22:42 +0000 |
commit | aa783ae3fd81c9256c4c8a9dc09462ac779f9992 (patch) | |
tree | ae315628aaa0f93d48e06372f14ac3f80adbf06c /os | |
parent | ed7cdc70182a43b85db8dd7bee8df8f8b25f75bc (diff) | |
download | ChibiOS-aa783ae3fd81c9256c4c8a9dc09462ac779f9992.tar.gz ChibiOS-aa783ae3fd81c9256c4c8a9dc09462ac779f9992.tar.bz2 ChibiOS-aa783ae3fd81c9256c4c8a9dc09462ac779f9992.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@11121 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os')
-rw-r--r-- | os/hal/ports/SPC5/SPC56ECxx/hal_lld.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/os/hal/ports/SPC5/SPC56ECxx/hal_lld.c b/os/hal/ports/SPC5/SPC56ECxx/hal_lld.c index a179633b3..efc1c035e 100644 --- a/os/hal/ports/SPC5/SPC56ECxx/hal_lld.c +++ b/os/hal/ports/SPC5/SPC56ECxx/hal_lld.c @@ -76,7 +76,7 @@ void hal_lld_init(void) { n = halSPCGetSystemClock() / OSAL_ST_FREQUENCY;
port_write_spr(22, n); /* Init. DEC register. */
port_write_spr(54, n); /* Init. DECAR register.*/
- n = 0x0440; /* DIE ARE bits. */
+ n = 0x04400000; /* DIE ARE bits. */
port_write_spr(340, n); /* TCR register. */
/* TB counter enabled for debug and measurements.*/
|