1
0
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:
Alexandre Abadie 2018-02-09 09:59:04 +01:00 committed by GitHub
commit 2afc28922a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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