From fb17346576144d287f6d706a6825ec0b2e3d3ba5 Mon Sep 17 00:00:00 2001 From: sunghan Date: Fri, 14 Apr 2017 17:35:45 +0900 Subject: [PATCH] modify definition name for tash task Because TASH is launched as a task, not thread, we had better change definition name. --- apps/shell/tash_main.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/shell/tash_main.c b/apps/shell/tash_main.c index 8a29349..b81b672 100644 --- a/apps/shell/tash_main.c +++ b/apps/shell/tash_main.c @@ -46,8 +46,8 @@ enum tash_input_state_e { #define SELECT_TIMEOUT_SECS (6) #define SELECT_TIMEOUT_USECS (0) #endif -#define TASH_THREAD_STACKSIZE (4096) -#define TASH_THREAD_PRIORITY (125) +#define TASH_TASK_STACKSIZE (4096) +#define TASH_TASK_PRIORITY (125) const char tash_prompt[] = "TASH>>"; #endif /* CONFIG_TASH */ @@ -218,7 +218,7 @@ int tash_start(void) { int pid; - pid = task_create("tash", TASH_THREAD_PRIORITY, TASH_THREAD_STACKSIZE, tash_main, (FAR char *const *)NULL); + pid = task_create("tash", TASH_TASK_PRIORITY, TASH_TASK_STACKSIZE, tash_main, (FAR char *const *)NULL); if (pid < 0) { printf("TASH is not started, error code = %d\n", pid); } -- 2.7.4