Skip to content

Commit fc3ca25

Browse files
committed
Arduino example callback remove exit command
1 parent 53782a2 commit fc3ca25

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

  • examples/arduino/basic_usage_callbacks/src

examples/arduino/basic_usage_callbacks/src/main.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -76,9 +76,6 @@ void cmd_led(int argc, char* argv[]);
7676
// CLI command "version" callback function
7777
void 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

0 commit comments

Comments
 (0)