aboutsummaryrefslogtreecommitdiffstats
path: root/os/various/shell
diff options
context:
space:
mode:
authorGiovanni Di Sirio <gdisirio@gmail.com>2016-02-21 10:45:42 +0000
committerGiovanni Di Sirio <gdisirio@gmail.com>2016-02-21 10:45:42 +0000
commit8f89ec3c0bb6f4bc5a77afd37ebb3919181f7a4d (patch)
tree73e66c07f6c99ba3d914e1319e7d873ebaa78fbf /os/various/shell
parentadcc51666865020347d364f7b3cad8a622124f7a (diff)
downloadChibiOS-8f89ec3c0bb6f4bc5a77afd37ebb3919181f7a4d.tar.gz
ChibiOS-8f89ec3c0bb6f4bc5a77afd37ebb3919181f7a4d.tar.bz2
ChibiOS-8f89ec3c0bb6f4bc5a77afd37ebb3919181f7a4d.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@8919 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/various/shell')
-rw-r--r--os/various/shell/shell.c1
-rw-r--r--os/various/shell/shell_cmd.c3
2 files changed, 2 insertions, 2 deletions
diff --git a/os/various/shell/shell.c b/os/various/shell/shell.c
index 958afcaf1..0cbaedc81 100644
--- a/os/various/shell/shell.c
+++ b/os/various/shell/shell.c
@@ -130,7 +130,6 @@ THD_FUNCTION(shellThread, p) {
char *lp, *cmd, *tokp, line[SHELL_MAX_LINE_LENGTH];
char *args[SHELL_MAX_ARGUMENTS + 1];
- chRegSetThreadName("shell");
chprintf(chp, "\r\nChibiOS/RT Shell\r\n");
while (true) {
chprintf(chp, "ch> ");
diff --git a/os/various/shell/shell_cmd.c b/os/various/shell/shell_cmd.c
index 7d592286b..6432f59d3 100644
--- a/os/various/shell/shell_cmd.c
+++ b/os/various/shell/shell_cmd.c
@@ -165,7 +165,8 @@ static void cmd_test(BaseSequentialStream *chp, int argc, char *argv[]) {
chprintf(chp, "Usage: test\r\n");
return;
}
- tp = chThdCreateFromHeap(NULL, SHELL_CMD_TEST_WA_SIZE, chThdGetPriorityX(),
+ tp = chThdCreateFromHeap(NULL, SHELL_CMD_TEST_WA_SIZE,
+ "test", chThdGetPriorityX(),
TestThread, chp);
if (tp == NULL) {
chprintf(chp, "out of memory\r\n");