From 85181495ddf9530252818c75215e7bf60bc4066b Mon Sep 17 00:00:00 2001 From: Kurtis Lew Date: Sat, 21 May 2022 06:47:27 -0700 Subject: [PATCH] Re-add backticks to KP_INST/DT_INST_FOREACH_STATUS_OKAY --- docs/docs/development/new-behavior.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/docs/development/new-behavior.md b/docs/docs/development/new-behavior.md index b7e3c00a..3af80365 100644 --- a/docs/docs/development/new-behavior.md +++ b/docs/docs/development/new-behavior.md @@ -273,7 +273,7 @@ An example of this can be seen below, taking the `#define KP_INST(n)` from the h DT_INST_FOREACH_STATUS_OKAY(KP_INST) ``` -Note that in the hold-tap example, the instance number, 0, has been replaced by n, signifying the unique node-id of each instance of a behavior. Furthermore, the DT_INST_FOREACH_STATUS_OKAY(KP_INST) macro iterates through each compatible, non-disabled devicetree node, creating and applying the proper values to any instance-specific configurations or data by invoking the KP_INST macro for each instance of the new behavior. +Note that in the hold-tap example, the instance number, `0`, has been replaced by `n`, signifying the unique `node_id` of each instance of a behavior. Furthermore, the DT_INST_FOREACH_STATUS_OKAY(KP_INST) macro iterates through each compatible, non-disabled devicetree node, creating and applying the proper values to any instance-specific configurations or data by invoking the KP_INST macro for each instance of the new behavior. Behaviors also require the following parameters of `DEVICE_DT_INST_DEFINE` to be changed: