diff options
Diffstat (limited to 'firmware/API')
-rw-r--r-- | firmware/API | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/firmware/API b/firmware/API index c74aa20b0d..05d7d20961 100644 --- a/firmware/API +++ b/firmware/API | |||
@@ -238,6 +238,11 @@ Various | |||
238 | 238 | ||
239 | Returns true if the queue is empty. | 239 | Returns true if the queue is empty. |
240 | 240 | ||
241 | int queue_broadcast(int id, void *data) | ||
242 | |||
243 | Posts an event in all queues that has been initiated with queue_init(). | ||
244 | Returns the number of queues that were posted to. | ||
245 | |||
241 | int tick_add_task(void (*f)(void)) | 246 | int tick_add_task(void (*f)(void)) |
242 | 247 | ||
243 | Add a task to the tick task queue. The argument is a pointer to a | 248 | Add a task to the tick task queue. The argument is a pointer to a |