1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

Merge pull request #16146 from maribu/sys-doc-fix

sys/event: add missing precondition to doc
This commit is contained in:
Marian Buschsieweke 2021-03-04 17:15:49 +01:00 committed by GitHub
commit d7aeb81c9f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -305,6 +305,8 @@ event_t *event_get(event_queue_t *queue);
* sources of latency) that is acceptable to the real-time event with
* the strictest requirements.
*
* @pre 0 < @p n_queues (expect blowing `assert()` otherwise)
*
* @param[in] queues Array of event queues to get event from
* @param[in] n_queues Number of event queues passed in @p queues
*