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 <peter.mitsis@intel.com>
This commit is contained in:
Peter Mitsis 2021-10-19 15:08:09 -04:00 committed by Anas Nashif
commit 1d8c1162c7

View file

@ -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
==============