File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -72,7 +72,7 @@ MINBASECLI::MINBASECLI()
7272 {
7373 this ->added_commands [i].command [0 ] = ' \0 ' ;
7474 this ->added_commands [i].description [0 ] = ' \0 ' ;
75- this ->added_commands [i].callback = nullptr ;
75+ this ->added_commands [i].callback = NULL ;
7676 }
7777 memset (this ->rx_read , (int )(' \0 ' ), MINBASECLI_MAX_READ_SIZE - 1U );
7878 memset (this ->print_array , (int )(' \0 ' ), MINBASECLI_MAX_PRINT_SIZE - 1U );
Original file line number Diff line number Diff line change 8181
8282/* ****************************************************************************/
8383
84- /* Constants & Defines */
84+ /* Configuration Defines */
8585
8686// Default CLI Interface to use if not provided
8787#if !defined(MINBASECLI_DEFAULT_IFACE)
130130
131131/* ****************************************************************************/
132132
133+ /* Constants */
134+
135+ /* *
136+ * @brief Builtin command "help" text.
137+ */
138+ static const char CMD_HELP[] = " help" ;
139+
140+ /* *
141+ * @brief Builtin command "help" description text.
142+ */
143+ static const char CMD_HELP_DESCRIPTION[] = " Shows current info." ;
144+
145+ /* ****************************************************************************/
146+
133147/* Data Types */
134148
135149// CLI manage result data
@@ -233,16 +247,6 @@ class MINBASECLI : public MINBASECLI_HAL
233247
234248 private:
235249
236- /* *
237- * @brief Builtin command "help" text.
238- */
239- static constexpr char CMD_HELP[] = " help" ;
240-
241- /* *
242- * @brief Builtin command "help" description text.
243- */
244- static constexpr char CMD_HELP_DESCRIPTION[] = " Shows current info." ;
245-
246250 /* *
247251 * @brief CLI initialized flag.
248252 */
You can’t perform that action at this time.
0 commit comments