doc: fix @param usage in callbacks

The proper usage of @param in callbacks is currently unsupported by
Doxygen so not warnings are generated. The issues fixed with this commit
where found while adding support to Doxygen for validating @param in
callbacks like it currently does for functions.

Signed-off-by: Fabio Utzig <fabio.utzig@nordicsemi.no>
This commit is contained in:
Fabio Utzig 2020-12-16 20:22:38 -03:00 committed by Carles Cufí
commit 8713da70a3
15 changed files with 38 additions and 40 deletions

View file

@ -91,7 +91,7 @@ struct json_obj_descr {
* encoding JSON data.
*
* @param bytes Contents to write to the output
* @param len Number of bytes in @param bytes to append to output
* @param len Number of bytes to append to output
* @param data User-provided pointer
*
* @return This callback function should return a negative number on