diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2012-05-12 06:46:28 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2012-05-12 06:46:28 +0000 |
commit | 52d0b057aedb5107e93aa9c1b3e3a7f06c1ba6dc (patch) | |
tree | c41c316cf70d120939ed3071a1992ff00c7a836f /os/hal/platforms/LPC13xx | |
parent | 31f7e698c050fd63acd717f81b918d764f672840 (diff) | |
download | ChibiOS-52d0b057aedb5107e93aa9c1b3e3a7f06c1ba6dc.tar.gz ChibiOS-52d0b057aedb5107e93aa9c1b3e3a7f06c1ba6dc.tar.bz2 ChibiOS-52d0b057aedb5107e93aa9c1b3e3a7f06c1ba6dc.zip |
Fixed bug 3524138.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@4190 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/platforms/LPC13xx')
-rw-r--r-- | os/hal/platforms/LPC13xx/hal_lld.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/os/hal/platforms/LPC13xx/hal_lld.h b/os/hal/platforms/LPC13xx/hal_lld.h index aad7cbf4d..67903b081 100644 --- a/os/hal/platforms/LPC13xx/hal_lld.h +++ b/os/hal/platforms/LPC13xx/hal_lld.h @@ -120,7 +120,7 @@ */
#if (LPC13xx_PLLCLK_SOURCE == SYSPLLCLKSEL_SYSOSC) || defined(__DOXYGEN__)
#define LPC13xx_SYSPLLCLKIN SYSOSCCLK
-#elif LPC13xx_PLLCLK_SOURCE == SYSPLLCLKSEL_IRCOCS
+#elif LPC13xx_PLLCLK_SOURCE == SYSPLLCLKSEL_IRCOSC
#define LPC13xx_SYSPLLCLKIN IRCOSCCLK
#else
#error "invalid LPC13xx_PLLCLK_SOURCE clock source specified"
@@ -166,7 +166,7 @@ */
#define LPC13xx_SYSPLLCLKOUT (LPC13xx_SYSPLLCCO / LPC13xx_SYSPLL_DIV)
-#if (LPC13xx_MAINCLK_SOURCE == SYSMAINCLKSEL_IRCOCS) || defined(__DOXYGEN__)
+#if (LPC13xx_MAINCLK_SOURCE == SYSMAINCLKSEL_IRCOSC) || defined(__DOXYGEN__)
#define LPC13xx_MAINCLK IRCOSCCLK
#elif LPC13xx_MAINCLK_SOURCE == SYSMAINCLKSEL_PLLIN
#define LPC13xx_MAINCLK LPC13xx_SYSPLLCLKIN
|