From 845ca3e5f4ca6b70459df4a82ed2be942cf223ee Mon Sep 17 00:00:00 2001 From: gdisirio Date: Mon, 11 Feb 2013 08:37:45 +0000 Subject: git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@5150 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/hal/platforms/SPC560Pxx/hal_lld.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'os/hal') diff --git a/os/hal/platforms/SPC560Pxx/hal_lld.c b/os/hal/platforms/SPC560Pxx/hal_lld.c index 2eb9e0e53..f63573ad6 100644 --- a/os/hal/platforms/SPC560Pxx/hal_lld.c +++ b/os/hal/platforms/SPC560Pxx/hal_lld.c @@ -124,7 +124,7 @@ void spc_clock_init(void) { (SPC5_FMPLL0_NDIV_VALUE << 16); CGM.FMPLL[0].MR.R = 0; /* TODO: Add a setting. */ CGM.FMPLL[1].CR.R = SPC5_FMPLL1_ODF | - (SPC5_FMPLL1_IDF_VALUE << 26) | + ((SPC5_FMPLL1_IDF_VALUE - 1) << 26) | (SPC5_FMPLL1_NDIV_VALUE << 16); CGM.FMPLL[1].MR.R = 0; /* TODO: Add a setting. */ -- cgit v1.2.3