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:
parent
b302b031c8
commit
c4cd49351f
@ -81,7 +81,7 @@
|
|||||||
*
|
*
|
||||||
* static custom_event_t custom_event = { .super.handler = custom_handler, .text = "CUSTOM EVENT" };
|
* 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…
Reference in New Issue
Block a user