Removed dummy function
This commit is contained in:
parent
e0b12d6581
commit
42749e506a
|
@ -96,10 +96,6 @@ static int lw12_cmd_exit(int argc, char *argv[]) {
|
|||
return 0;
|
||||
}
|
||||
|
||||
static int lw12_cmd_dummy(int argc, char *argv[]) {
|
||||
return 1;
|
||||
}
|
||||
|
||||
struct lw12_command {
|
||||
const char *cmd;
|
||||
int (*handler)(int argc, char *argv[]);
|
||||
|
@ -109,10 +105,6 @@ struct lw12_command {
|
|||
static struct lw12_command lw12_commands[] = {
|
||||
{"light", lw12_cmd_light,
|
||||
"Control the LED stripe. Turn it on/off and change the colors" },
|
||||
{"foobar", lw12_cmd_dummy,
|
||||
"Exit program"},
|
||||
{"foobaz", lw12_cmd_dummy,
|
||||
"Exit program"},
|
||||
{"exit", lw12_cmd_exit,
|
||||
"Exit program"},
|
||||
{"quit", lw12_cmd_exit,
|
||||
|
|
Loading…
Reference in New Issue