aboutsummaryrefslogtreecommitdiffstats
path: root/os/kernel/include/chbsem.h
diff options
context:
space:
mode:
Diffstat (limited to 'os/kernel/include/chbsem.h')
-rw-r--r--os/kernel/include/chbsem.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/os/kernel/include/chbsem.h b/os/kernel/include/chbsem.h
index e60886bcd..e0e1ca865 100644
--- a/os/kernel/include/chbsem.h
+++ b/os/kernel/include/chbsem.h
@@ -1,5 +1,6 @@
/*
- ChibiOS/RT - Copyright (C) 2006,2007,2008,2009,2010 Giovanni Di Sirio.
+ ChibiOS/RT - Copyright (C) 2006,2007,2008,2009,2010,
+ 2011 Giovanni Di Sirio.
This file is part of ChibiOS/RT.
@@ -70,7 +71,7 @@ typedef struct {
* @param[in] taken the semaphore initial state
*/
#define _BSEMAPHORE_DATA(name, taken) \
- {_SEMAPHORE_DATA(name.bs_sem), ((taken) ? 0 : 1)}
+ {_SEMAPHORE_DATA(name.bs_sem, ((taken) ? 0 : 1))}
/**
* @brief Static semaphore initializer.