File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change 22
33 @file DemOS: os.h
44 @author Rajmund Szymanski
5- @date 10.03 .2020
5+ @date 23.05 .2020
66 @brief This file provides set of functions for DemOS.
77
88 ******************************************************************************
@@ -269,9 +269,7 @@ typedef uint_fast8_t sem_t;
269269// try to release the semaphore (sem); return true if the semaphore has been successfully released
270270#define sem_give (sem ) ( sem_taken(sem) ? ((*(sem) = 1), true) : false )
271271// alias
272- #define sem_post (sem ) sem_post(sem)
273- // wait for the locked semaphore (sem) and release it
274- #define sem_send (sem ) tsk_waitUntil(sem_give(sem))
272+ #define sem_post (sem ) sem_give(sem)
275273
276274/* Protected signal ========================================================= */
277275// definition of protected signal
You can’t perform that action at this time.
0 commit comments