modify definition name for tash task
Because TASH is launched as a task, not thread, we had better change definition name.
@@ -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);
}
