File tree Expand file tree Collapse file tree
examples/arduino/basic_usage_callbacks/src Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -76,9 +76,6 @@ void cmd_led(int argc, char* argv[]);
7676// CLI command "version" callback function
7777void cmd_version (int argc, char * argv[]);
7878
79- // CLI command "exit" callback function
80- void cmd_exit (int argc, char * argv[]);
81-
8279/* ****************************************************************************/
8380
8481/* Setup & Loop */
@@ -98,7 +95,6 @@ void setup()
9895 // Add commands and bind callbacks to them
9996 Cli.add_cmd (" led" , &cmd_test, " led [on/off], Turn LED ON or OFF.." );
10097 Cli.add_cmd (" version" , &cmd_version, " Shows current firmware version." );
101- Cli.add_cmd (" exit" , &cmd_exit, " Exit and close the program." );
10298
10399 // The "help" command is already builtin and available from the CLI, and it
104100 // will shows added command descriptions, but you can setup a custom one
You can’t perform that action at this time.
0 commit comments