From b08638d7c8e46b3a207705a2e55fdfe4b78cfb3e Mon Sep 17 00:00:00 2001 From: gdisirio Date: Sat, 7 Feb 2009 12:42:29 +0000 Subject: git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@735 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- src/chsem.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/chsem.c') diff --git a/src/chsem.c b/src/chsem.c index bb6070dd7..578108dff 100644 --- a/src/chsem.c +++ b/src/chsem.c @@ -26,9 +26,9 @@ #include -#ifdef CH_USE_SEMAPHORES +#if CH_USE_SEMAPHORES -#ifdef CH_USE_SEMAPHORES_PRIORITY +#if CH_USE_SEMAPHORES_PRIORITY #define sem_insert(tp, qp) prio_insert(tp, qp) #else #define sem_insert(tp, qp) queue_insert(tp, qp) @@ -127,7 +127,7 @@ msg_t chSemWaitS(Semaphore *sp) { return RDY_OK; } -#ifdef CH_USE_SEMAPHORES_TIMEOUT +#if CH_USE_SEMAPHORES_TIMEOUT /** * @brief Performs a wait operation on a semaphore with timeout specification. * @@ -210,7 +210,7 @@ void chSemSignalI(Semaphore *sp) { } } -#ifdef CH_USE_SEMSW +#if CH_USE_SEMSW /** * @brief Performs atomic signal and wait operations on two semaphores. * -- cgit v1.2.3