diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2012-10-01 13:54:54 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2012-10-01 13:54:54 +0000 |
commit | 4becbef6de9e4b5d6b8f027f91de846b4702a1cb (patch) | |
tree | 0f871f04226d211f43345dfce61efb11cc7e7537 /os/hal/platforms/SPC560Pxx/hal_lld.c | |
parent | 2a74bb8d6c4e707e58b198ed5a1b69199dcb9103 (diff) | |
download | ChibiOS-4becbef6de9e4b5d6b8f027f91de846b4702a1cb.tar.gz ChibiOS-4becbef6de9e4b5d6b8f027f91de846b4702a1cb.tar.bz2 ChibiOS-4becbef6de9e4b5d6b8f027f91de846b4702a1cb.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@4729 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/platforms/SPC560Pxx/hal_lld.c')
-rw-r--r-- | os/hal/platforms/SPC560Pxx/hal_lld.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/os/hal/platforms/SPC560Pxx/hal_lld.c b/os/hal/platforms/SPC560Pxx/hal_lld.c index e37b8fed0..7f340e6fc 100644 --- a/os/hal/platforms/SPC560Pxx/hal_lld.c +++ b/os/hal/platforms/SPC560Pxx/hal_lld.c @@ -125,7 +125,7 @@ void spc560p_clock_init(void) { /* Initialization of the FMPLLs settings.*/
CGM.FMPLL[0].CR.R = SPC5_FMPLL0_ODF |
- (SPC5_FMPLL0_IDF_VALUE << 26) |
+ ((SPC5_FMPLL0_IDF_VALUE - 1) << 26) |
(SPC5_FMPLL0_NDIV_VALUE << 16);
CGM.FMPLL[0].MR.R = 0; /* TODO: Add a setting. */
CGM.FMPLL[1].CR.R = SPC5_FMPLL1_ODF |
|