diff options
author | Giovanni Di Sirio <gdisirio@gmail.com> | 2016-02-21 10:45:42 +0000 |
---|---|---|
committer | Giovanni Di Sirio <gdisirio@gmail.com> | 2016-02-21 10:45:42 +0000 |
commit | 8f89ec3c0bb6f4bc5a77afd37ebb3919181f7a4d (patch) | |
tree | 73e66c07f6c99ba3d914e1319e7d873ebaa78fbf /demos/SPC5/RT-SPC560D-EVB/main.c | |
parent | adcc51666865020347d364f7b3cad8a622124f7a (diff) | |
download | ChibiOS-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 'demos/SPC5/RT-SPC560D-EVB/main.c')
-rw-r--r-- | demos/SPC5/RT-SPC560D-EVB/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/demos/SPC5/RT-SPC560D-EVB/main.c b/demos/SPC5/RT-SPC560D-EVB/main.c index 5b5d89d44..3f5e7e2c8 100644 --- a/demos/SPC5/RT-SPC560D-EVB/main.c +++ b/demos/SPC5/RT-SPC560D-EVB/main.c @@ -136,8 +136,8 @@ int main(void) { */
while (true) {
thread_t *shelltp = chThdCreateFromHeap(NULL, SHELL_WA_SIZE,
- NORMALPRIO + 1, shellThread,
- (void *)&shell_cfg1);
+ "shell", NORMALPRIO + 1,
+ shellThread, (void *)&shell_cfg1);
chThdWait(shelltp); /* Waiting termination. */
chThdFreeToHeap(shelltp); /* Returning memory to heap. */
chThdSleepMilliseconds(1000);
|