From ef199e92df99351fe95d46269331e15b6c7c9ec6 Mon Sep 17 00:00:00 2001 From: Dominik Ermel Date: Wed, 13 Apr 2022 09:32:41 +0000 Subject: [PATCH] mgmt/mcumgr/lib: doc: Minor fixes to zcbor_bulk documentation Little polishing here and there. Signed-off-by: Dominik Ermel --- .../mcumgr/lib/util/include/zcbor_bulk/zcbor_bulk_priv.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/subsys/mgmt/mcumgr/lib/util/include/zcbor_bulk/zcbor_bulk_priv.h b/subsys/mgmt/mcumgr/lib/util/include/zcbor_bulk/zcbor_bulk_priv.h index ae71c22647..58665234fa 100644 --- a/subsys/mgmt/mcumgr/lib/util/include/zcbor_bulk/zcbor_bulk_priv.h +++ b/subsys/mgmt/mcumgr/lib/util/include/zcbor_bulk/zcbor_bulk_priv.h @@ -23,7 +23,7 @@ struct zcbor_map_decode_key_val { /** @brief Define single key-value decode mapping * - * The macro creates a single zcbor_map_decode_key type object. + * The macro creates a single zcbor_map_decode_key_val type object. * * @param k key; the @p k will be stringified so should be given * without ""; @@ -48,9 +48,9 @@ struct zcbor_map_decode_key_val { * * The function takes @p map of key to decoder array defined as: * - * struct zcbor_map_decode_key map[] = { - * ZCBOR_MAP_DECODE_KEY(key0, decode_fun0, val_ptr0), - * ZCBOR_MAP_DECODE_KEY(key1, decode_fun1, val_ptr1), + * struct zcbor_map_decode_key_val map[] = { + * ZCBOR_MAP_DECODE_KEY_VAL(key0, decode_fun0, val_ptr0), + * ZCBOR_MAP_DECODE_KEY_VAL(key1, decode_fun1, val_ptr1), * ... * }; *