mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
sys/event: add queue initialization pre-cond to event_post
Document that a queue should have been initialized before posting events to it.
This commit is contained in:
parent
b7c68a2c69
commit
d3ee32fe97
@ -257,6 +257,8 @@ static inline void event_queue_claim(event_queue_t *queue)
|
||||
* in the previous position on the queue. So reposting an event while it is
|
||||
* already on the queue will have no effect.
|
||||
*
|
||||
* @pre queue should be initialized
|
||||
*
|
||||
* @param[in] queue event queue to queue event in
|
||||
* @param[in] event event to queue in event queue
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user