git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3137 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
parent
d79eea31a2
commit
a53bc3d266
|
@ -329,6 +329,7 @@ static WORKING_AREA(waThread1, 128);
|
|||
static msg_t Thread1(void *arg) {
|
||||
|
||||
(void)arg;
|
||||
chRegSetThreadName("blinker");
|
||||
while (TRUE) {
|
||||
palClearPad(GPIOF, GPIOF_LED4);
|
||||
palSetPad(GPIOF, GPIOF_LED1);
|
||||
|
|
|
@ -153,6 +153,7 @@ static msg_t shell_thread(void *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> ");
|
||||
|
|
Loading…
Reference in New Issue