summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Braun <rbraun@sceen.net>2018-01-05 15:38:54 +0100
committerRichard Braun <rbraun@sceen.net>2018-01-05 15:38:54 +0100
commitc9d9a79f282bbc15e237d597c7df3a44621c90a5 (patch)
treedcd4b0ec9ebe4f71f5202b70a3f6d2a0de398099
parentf7e18ccf8b09972c965abd6c55a5986a36c7e52c (diff)
sw: fix name of shell commands array
-rw-r--r--src/sw.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sw.c b/src/sw.c
index 2d44fd3..4f74289 100644
--- a/src/sw.c
+++ b/src/sw.c
@@ -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);
}