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, 5 insertions, 0 deletions
diff --git a/os/kernel/include/chbsem.h b/os/kernel/include/chbsem.h
index e0e1ca865..2d8815c3c 100644
--- a/os/kernel/include/chbsem.h
+++ b/os/kernel/include/chbsem.h
@@ -85,6 +85,10 @@ typedef struct {
BinarySemaphore name = _BSEMAPHORE_DATA(name, taken)
/**
+ * @name Macro Functions
+ * @{
+ */
+/**
* @brief Initializes a binary semaphore.
*
* @param[out] bsp pointer to a @p BinarySemaphore structure
@@ -238,6 +242,7 @@ typedef struct {
* @iclass
*/
#define chBSemGetStateI(bsp) ((bsp)->bs_sem.s_cnt > 0 ? FALSE : TRUE)
+/** @} */
#endif /* CH_USE_SEMAPHORES */