mgmt/mcumgr/lib: doc: Minor fixes to zcbor_bulk documentation

Little polishing here and there.

Signed-off-by: Dominik Ermel <dominik.ermel@nordicsemi.no>
This commit is contained in:
Dominik Ermel 2022-04-13 09:32:41 +00:00 committed by Carles Cufí
commit ef199e92df

View file

@ -23,7 +23,7 @@ struct zcbor_map_decode_key_val {
/** @brief Define single key-value decode mapping /** @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 * @param k key; the @p k will be stringified so should be given
* without ""; * without "";
@ -48,9 +48,9 @@ struct zcbor_map_decode_key_val {
* *
* The function takes @p map of key to decoder array defined as: * The function takes @p map of key to decoder array defined as:
* *
* struct zcbor_map_decode_key map[] = { * struct zcbor_map_decode_key_val map[] = {
* ZCBOR_MAP_DECODE_KEY(key0, decode_fun0, val_ptr0), * ZCBOR_MAP_DECODE_KEY_VAL(key0, decode_fun0, val_ptr0),
* ZCBOR_MAP_DECODE_KEY(key1, decode_fun1, val_ptr1), * ZCBOR_MAP_DECODE_KEY_VAL(key1, decode_fun1, val_ptr1),
* ... * ...
* }; * };
* *