diff options
Diffstat (limited to 'os/various/shell')
-rw-r--r-- | os/various/shell/shell.c | 1 | ||||
-rw-r--r-- | os/various/shell/shell_cmd.c | 3 |
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");
|