You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by st...@apache.org on 2016/12/18 22:51:43 UTC

incubator-mynewt-core git commit: don't make shell command a const, it is inserted into a list.

Repository: incubator-mynewt-core
Updated Branches:
  refs/heads/sensors_branch f6b1db0fc -> 7fdea4768


don't make shell command a const, it is inserted into a list.


Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/commit/7fdea476
Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/tree/7fdea476
Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/diff/7fdea476

Branch: refs/heads/sensors_branch
Commit: 7fdea47688d1f5255dfc0537c37250fb954ae668
Parents: f6b1db0
Author: Sterling Hughes <st...@apache.org>
Authored: Sun Dec 18 14:51:23 2016 -0800
Committer: Sterling Hughes <st...@apache.org>
Committed: Sun Dec 18 14:51:23 2016 -0800

----------------------------------------------------------------------
 hw/sensor/src/sensor_shell.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/7fdea476/hw/sensor/src/sensor_shell.c
----------------------------------------------------------------------
diff --git a/hw/sensor/src/sensor_shell.c b/hw/sensor/src/sensor_shell.c
index e975da6..dfd926d 100644
--- a/hw/sensor/src/sensor_shell.c
+++ b/hw/sensor/src/sensor_shell.c
@@ -35,7 +35,7 @@
 #include "shell/shell.h"
 
 static int sensor_cmd_exec(int, char **);
-static const struct shell_cmd shell_sensor_cmd = {
+static struct shell_cmd shell_sensor_cmd = {
     .sc_cmd = "sensor",
     .sc_cmd_func = sensor_cmd_exec
 };