mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-18 12:52:44 +01:00
Merge pull request #8535 from jia200x/fix_event_doc
doc: fix event_t attribute in documentation
This commit is contained in:
commit
2afc28922a
@ -73,7 +73,7 @@
|
||||
* printf("triggered custom event with text: \"%s\"\n", custom_event->text);
|
||||
* }
|
||||
*
|
||||
* static custom_event_t custom_event = { .super.callback = custom_handler, .text = "CUSTOM EVENT" };
|
||||
* static custom_event_t custom_event = { .super.handler = custom_handler, .text = "CUSTOM EVENT" };
|
||||
*
|
||||
* [...] event_post(&queue, &custom_event)
|
||||
* ~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
Loading…
Reference in New Issue
Block a user