aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/platforms/LPC11xx
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2010-04-08 17:38:20 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2010-04-08 17:38:20 +0000
commit7a4b5c472fd67b3c4e58ebe621b7f33412e308bc (patch)
tree1a5c196546f495f4565fda555567386391e103db /os/hal/platforms/LPC11xx
parent1322201fbd4335b62c638df3727fa4246b67407a (diff)
downloadChibiOS-7a4b5c472fd67b3c4e58ebe621b7f33412e308bc.tar.gz
ChibiOS-7a4b5c472fd67b3c4e58ebe621b7f33412e308bc.tar.bz2
ChibiOS-7a4b5c472fd67b3c4e58ebe621b7f33412e308bc.zip
Added LPC1343 report.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1860 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/platforms/LPC11xx')
-rw-r--r--os/hal/platforms/LPC11xx/hal_lld.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/os/hal/platforms/LPC11xx/hal_lld.h b/os/hal/platforms/LPC11xx/hal_lld.h
index 521029139..15e9f85e8 100644
--- a/os/hal/platforms/LPC11xx/hal_lld.h
+++ b/os/hal/platforms/LPC11xx/hal_lld.h
@@ -183,9 +183,8 @@
/**
* @brief AHB clock.
*/
-#if (LPC11xx_SYSCLK <= 50000000) || defined(__DOXYGEN__)
#define LPC11xx_SYSCLK (LPC11xx_MAINCLK / LPC11xx_SYSABHCLK_DIV)
-#else
+#if LPC11xx_SYSCLK > 50000000
#error "AHB clock frequency out of the acceptable range (50MHz max)"
#endif