1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-16 01:53:51 +01:00

Merge pull request #20704 from KSKNico/documentation-event-fix

sys/event.h: Fixed documentation error by adding a type cast.
This commit is contained in:
mguetschow 2024-05-28 19:26:55 +00:00 committed by GitHub
commit a2259db3bd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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)
* ~~~~~~~~~~~~~~~~~~~~~~~~
*
* @{