aboutsummaryrefslogtreecommitdiffstats
path: root/src/include/semaphores.h
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2009-02-17 19:58:46 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2009-02-17 19:58:46 +0000
commit3d2f2081cebee2936d8073ab6a55177b6549013e (patch)
tree1e57283eece612d213add53d785ab5207b7d21af /src/include/semaphores.h
parent7fe2bf4789935d592c24dbbe2aaba18c34c021cf (diff)
downloadChibiOS-3d2f2081cebee2936d8073ab6a55177b6549013e.tar.gz
ChibiOS-3d2f2081cebee2936d8073ab6a55177b6549013e.tar.bz2
ChibiOS-3d2f2081cebee2936d8073ab6a55177b6549013e.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@778 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'src/include/semaphores.h')
-rw-r--r--src/include/semaphores.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/semaphores.h b/src/include/semaphores.h
index 25f11b06b..acb48f150 100644
--- a/src/include/semaphores.h
+++ b/src/include/semaphores.h
@@ -63,7 +63,7 @@ extern "C" {
* Decreases the semaphore counter, this macro can be used when it is ensured
* that the counter would not become negative.
*/
-#define chSemFastWaitS(sp) ((sp)->s_cnt--)
+#define chSemFastWaitI(sp) ((sp)->s_cnt--)
/**
* Increases the semaphore counter, this macro can be used when the counter is
@@ -74,7 +74,7 @@ extern "C" {
/**
* Returns the semaphore counter current value.
*/
-#define chSemGetCounter(sp) ((sp)->s_cnt)
+#define chSemGetCounterI(sp) ((sp)->s_cnt)
#endif /* CH_USE_SEMAPHORES */