diff options
author | Richard Braun <rbraun@sceen.net> | 2018-01-05 15:38:54 +0100 |
---|---|---|
committer | Richard Braun <rbraun@sceen.net> | 2018-01-05 15:38:54 +0100 |
commit | c9d9a79f282bbc15e237d597c7df3a44621c90a5 (patch) | |
tree | dcd4b0ec9ebe4f71f5202b70a3f6d2a0de398099 | |
parent | f7e18ccf8b09972c965abd6c55a5986a36c7e52c (diff) |
sw: fix name of shell commands array
-rw-r--r-- | src/sw.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -256,7 +256,7 @@ error: printf("sw_wait: error: invalid arguments\n"); } -static struct shell_cmd shell_cmds[] = { +static struct shell_cmd sw_shell_cmds[] = { SHELL_CMD_INITIALIZER("sw_start", sw_shell_start, "sw_start", "start the stopwatch"), @@ -283,5 +283,5 @@ sw_setup(void) panic("sw: error: unable to create stopwatch"); } - SHELL_REGISTER_CMDS(shell_cmds); + SHELL_REGISTER_CMDS(sw_shell_cmds); } |