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
This commit is contained in:
parent
03be31d2ba
commit
26d4b64316
|
@ -250,7 +250,7 @@ static msg_t thread4(void *p) {
|
||||||
}
|
}
|
||||||
|
|
||||||
static void sem4_execute(void) {
|
static void sem4_execute(void) {
|
||||||
BSEMAPHORE_DECL(bsem, TRUE);
|
BinarySemaphore bsem;
|
||||||
|
|
||||||
/* Creates a taken binary semaphore.*/
|
/* Creates a taken binary semaphore.*/
|
||||||
chBSemInit(&bsem, TRUE);
|
chBSemInit(&bsem, TRUE);
|
||||||
|
|
Loading…
Reference in New Issue