We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent affb874 commit bee0d5bCopy full SHA for bee0d5b
1 file changed
examples/arduino/basic_usage_callbacks/src/main.cpp
@@ -59,9 +59,7 @@
59
60
/* Global Elements */
61
62
-static MINBASECLI Cli;
63
-
64
-static volatile bool exit = false;
+MINBASECLI Cli;
65
66
/*****************************************************************************/
67
@@ -93,7 +91,7 @@ void setup()
93
91
Cli.setup(&Serial);
94
92
95
// Add commands and bind callbacks to them
96
- Cli.add_cmd("led", &cmd_test, "led [on/off], Turn LED ON or OFF..");
+ Cli.add_cmd("led", &cmd_led, "led [on/off], Turn LED ON or OFF..");
97
Cli.add_cmd("version", &cmd_version, "Shows current firmware version.");
98
99
// The "help" command is already builtin and available from the CLI, and it
0 commit comments