From 26d4b6431607f1437a5c51dfee4b8c12d3fb1bc7 Mon Sep 17 00:00:00 2001 From: gdisirio Date: Sun, 20 Feb 2011 08:34:05 +0000 Subject: 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 --- test/testsem.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v1.2.3