aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2011-02-20 08:34:05 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2011-02-20 08:34:05 +0000
commit26d4b6431607f1437a5c51dfee4b8c12d3fb1bc7 (patch)
tree60972e97a744f9b53f826414a8500d0c1ebea10a
parent03be31d2ba19f6cd3e65872d302c5c5f7b5f2042 (diff)
downloadChibiOS-26d4b6431607f1437a5c51dfee4b8c12d3fb1bc7.tar.gz
ChibiOS-26d4b6431607f1437a5c51dfee4b8c12d3fb1bc7.tar.bz2
ChibiOS-26d4b6431607f1437a5c51dfee4b8c12d3fb1bc7.zip
Reverted the change, it is not portable.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@2749 35acf78f-673a-0410-8e92-d51de3d6d3f4
-rw-r--r--test/testsem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/testsem.c b/test/testsem.c
index 36dae4086..25d87f3f1 100644
--- a/test/testsem.c
+++ b/test/testsem.c
@@ -250,7 +250,7 @@ static msg_t thread4(void *p) {
}
static void sem4_execute(void) {
- BSEMAPHORE_DECL(bsem, TRUE);
+ BinarySemaphore bsem;
/* Creates a taken binary semaphore.*/
chBSemInit(&bsem, TRUE);