Add description for function prototype

This commit is contained in:
Tilen Majerle 2021-04-08 19:38:33 +02:00
parent 080d62c7c8
commit 9e1663b273

View File

@ -65,9 +65,12 @@ typedef enum {
} lwshellr_t; } lwshellr_t;
/** /**
* * \brief Command function prototype
* \param[in] argc: Number of arguments
* \param[in] argv: Pointer to arguments
* \return `0` on success, `-1` otherwise
*/ */
typedef int32_t(*lwshell_cmd_fn)(int32_t argc, char** argv); typedef int32_t (*lwshell_cmd_fn)(int32_t argc, char** argv);
/** /**
* \brief LwSHELL main structure * \brief LwSHELL main structure