From 1d8c1162c7238abfd1115f771e652bac543765dd Mon Sep 17 00:00:00 2001 From: Peter Mitsis Date: Tue, 19 Oct 2021 15:08:09 -0400 Subject: [PATCH] doc: Fix K_EVENT_DEFINE macro code-block example Fixes the code-block example for K_EVENT_DEFINE() documentation to show that it only takes one argument instead of three. Signed-off-by: Peter Mitsis --- doc/reference/kernel/synchronization/events.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/reference/kernel/synchronization/events.rst b/doc/reference/kernel/synchronization/events.rst index 4e232a71eb3..6108d525763 100644 --- a/doc/reference/kernel/synchronization/events.rst +++ b/doc/reference/kernel/synchronization/events.rst @@ -66,7 +66,7 @@ The following code has the same effect as the code segment above. .. code-block:: c - K_EVENT_DEFINE(my_event, 0, 1); + K_EVENT_DEFINE(my_event); Setting Events ==============