summaryrefslogtreecommitdiff
path: root/apps/system/stackmonitor/stackmonitor.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/system/stackmonitor/stackmonitor.c')
-rw-r--r--apps/system/stackmonitor/stackmonitor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/system/stackmonitor/stackmonitor.c b/apps/system/stackmonitor/stackmonitor.c
index 2c912fcbf..8587fda63 100644
--- a/apps/system/stackmonitor/stackmonitor.c
+++ b/apps/system/stackmonitor/stackmonitor.c
@@ -152,7 +152,7 @@ int stackmonitor_start(int argc, char **argv)
g_stackmonitor.started = true;
g_stackmonitor.stop = false;
- ret = TASK_CREATE("Stack Monitor", CONFIG_SYSTEM_STACKMONITOR_PRIORITY,
+ ret = task_create("Stack Monitor", CONFIG_SYSTEM_STACKMONITOR_PRIORITY,
CONFIG_SYSTEM_STACKMONITOR_STACKSIZE,
(main_t)stackmonitor_daemon, (FAR char * const *)NULL);
if (ret < 0)