From 49d71a01abeefa000a4cd7a556052d826b096d49 Mon Sep 17 00:00:00 2001
From: gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>
Date: Sat, 20 Jul 2013 10:12:44 +0000
Subject: Renamed or added prefix to all hernel configuration options.

git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/kernel_3_dev@6010 35acf78f-673a-0410-8e92-d51de3d6d3f4
---
 os/hal/platforms/LPC11Uxx/hal_lld.c | 2 +-
 os/hal/platforms/LPC11Uxx/spi_lld.h | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

(limited to 'os/hal/platforms/LPC11Uxx')

diff --git a/os/hal/platforms/LPC11Uxx/hal_lld.c b/os/hal/platforms/LPC11Uxx/hal_lld.c
index 0e795c1a0..6a16de6f5 100644
--- a/os/hal/platforms/LPC11Uxx/hal_lld.c
+++ b/os/hal/platforms/LPC11Uxx/hal_lld.c
@@ -54,7 +54,7 @@ void hal_lld_init(void) {
 
   /* SysTick initialization using the system clock.*/
   nvicSetSystemHandlerPriority(HANDLER_SYSTICK, CORTEX_PRIORITY_SYSTICK);
-  SysTick->LOAD = LPC_SYSCLK / CH_FREQUENCY - 1;
+  SysTick->LOAD = LPC_SYSCLK / CH_CFG_FREQUENCY - 1;
   SysTick->VAL  = 0;
   SysTick->CTRL = SysTick_CTRL_CLKSOURCE_Msk |
                   SysTick_CTRL_ENABLE_Msk |
diff --git a/os/hal/platforms/LPC11Uxx/spi_lld.h b/os/hal/platforms/LPC11Uxx/spi_lld.h
index 9d15dcee2..46d2e657c 100644
--- a/os/hal/platforms/LPC11Uxx/spi_lld.h
+++ b/os/hal/platforms/LPC11Uxx/spi_lld.h
@@ -235,12 +235,12 @@ struct SPIDriver {
   Thread                *thread;
 #endif /* SPI_USE_WAIT */
 #if SPI_USE_MUTUAL_EXCLUSION || defined(__DOXYGEN__)
-#if CH_USE_MUTEXES || defined(__DOXYGEN__)
+#if CH_CFG_USE_MUTEXES || defined(__DOXYGEN__)
   /**
    * @brief Mutex protecting the bus.
    */
   Mutex                 mutex;
-#elif CH_USE_SEMAPHORES
+#elif CH_CFG_USE_SEMAPHORES
   Semaphore             semaphore;
 #endif
 #endif /* SPI_USE_MUTUAL_EXCLUSION */
-- 
cgit v1.2.3