From 49d71a01abeefa000a4cd7a556052d826b096d49 Mon Sep 17 00:00:00 2001 From: gdisirio 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/kernel/include/chsem.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'os/kernel/include/chsem.h') diff --git a/os/kernel/include/chsem.h b/os/kernel/include/chsem.h index d8cbdc944..21ee14293 100644 --- a/os/kernel/include/chsem.h +++ b/os/kernel/include/chsem.h @@ -29,7 +29,7 @@ #ifndef _CHSEM_H_ #define _CHSEM_H_ -#if CH_USE_SEMAPHORES || defined(__DOXYGEN__) +#if CH_CFG_USE_SEMAPHORES || defined(__DOXYGEN__) /*===========================================================================*/ /* Module constants. */ @@ -99,9 +99,7 @@ extern "C" { void chSemSignal(semaphore_t *sp); void chSemSignalI(semaphore_t *sp); void chSemAddCounterI(semaphore_t *sp, cnt_t n); -#if CH_USE_SEMSW msg_t chSemSignalWait(semaphore_t *sps, semaphore_t *spw); -#endif #ifdef __cplusplus } #endif @@ -149,7 +147,7 @@ static inline cnt_t chSemGetCounterI(semaphore_t *sp) { return sp->s_cnt; } -#endif /* CH_USE_SEMAPHORES */ +#endif /* CH_CFG_USE_SEMAPHORES */ #endif /* _CHSEM_H_ */ -- cgit v1.2.3