mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-15 17:43: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:
commit
a2259db3bd
@ -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)
|
||||
* ~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
*
|
||||
* @{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user