mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
797f19d4cd
When using static initializers uninitialized fields are set to 0, or NULL for pointers. But when using event_callback_init() on non static variables event_callback_t structure may hold non 0 values. This will lead to the event never being called since if super.list_node.next is not NULL as it is considered already in the event queue and therefore not touched. |
||
---|---|---|
.. | ||
callback.c | ||
event.c | ||
Kconfig | ||
Makefile | ||
periodic.c | ||
thread.c | ||
timeout_ztimer.c | ||
timeout.c |