diff options
Diffstat (limited to 'nuttx/configs/sam4s-xplained-pro/src/sam_wdt.c')
-rw-r--r-- | nuttx/configs/sam4s-xplained-pro/src/sam_wdt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/configs/sam4s-xplained-pro/src/sam_wdt.c b/nuttx/configs/sam4s-xplained-pro/src/sam_wdt.c index d2b62578c..4df566c98 100644 --- a/nuttx/configs/sam4s-xplained-pro/src/sam_wdt.c +++ b/nuttx/configs/sam4s-xplained-pro/src/sam_wdt.c @@ -219,7 +219,7 @@ int up_wdginitialize(void) #if defined(CONFIG_WDT_THREAD) sched_lock(); - int taskid = KERNEL_THREAD(CONFIG_WDT_THREAD_NAME, + int taskid = kernel_thread(CONFIG_WDT_THREAD_NAME, CONFIG_WDT_THREAD_PRIORITY, CONFIG_WDT_THREAD_STACKSIZE, (main_t)wdog_daemon, (FAR char * const *)NULL); |