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

sys/event.h: Fixed documentation error by adding a type cast.

This commit is contained in:
KSKNico 2024-05-28 19:42:09 +02:00
parent b302b031c8
commit c4cd49351f

View File

@ -81,7 +81,7 @@
*
* static custom_event_t custom_event = { .super.handler = custom_handler, .text = "CUSTOM EVENT" };
*
* [...] event_post(&queue, &custom_event)
* [...] event_post(&queue, (event_t *)&custom_event)
* ~~~~~~~~~~~~~~~~~~~~~~~~
*
* @{