diff --git a/sys/include/event.h b/sys/include/event.h index 02e3542950..7072de41e6 100644 --- a/sys/include/event.h +++ b/sys/include/event.h @@ -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) * ~~~~~~~~~~~~~~~~~~~~~~~~