summaryrefslogtreecommitdiff
path: root/nuttx/configs/stm3240g-eval/src
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/configs/stm3240g-eval/src')
-rw-r--r--nuttx/configs/stm3240g-eval/src/up_boot.c2
-rw-r--r--nuttx/configs/stm3240g-eval/src/up_usb.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/configs/stm3240g-eval/src/up_boot.c b/nuttx/configs/stm3240g-eval/src/up_boot.c
index eff7a36d3..c1ebe3ea7 100644
--- a/nuttx/configs/stm3240g-eval/src/up_boot.c
+++ b/nuttx/configs/stm3240g-eval/src/up_boot.c
@@ -264,7 +264,7 @@ void board_initialize(void)
/* Start the board initialization kernel thread */
- server = KERNEL_THREAD("Board Init", CONFIG_STM3240G_BOARDINIT_PRIO,
+ server = kernel_thread("Board Init", CONFIG_STM3240G_BOARDINIT_PRIO,
CONFIG_STM3240G_BOARDINIT_STACK, board_initthread,
NULL);
ASSERT(server > 0);
diff --git a/nuttx/configs/stm3240g-eval/src/up_usb.c b/nuttx/configs/stm3240g-eval/src/up_usb.c
index 102054dd6..b5e988390 100644
--- a/nuttx/configs/stm3240g-eval/src/up_usb.c
+++ b/nuttx/configs/stm3240g-eval/src/up_usb.c
@@ -193,7 +193,7 @@ int stm32_usbhost_initialize(void)
uvdbg("Start usbhost_waiter\n");
- pid = TASK_CREATE("usbhost", CONFIG_USBHOST_DEFPRIO,
+ pid = task_create("usbhost", CONFIG_USBHOST_DEFPRIO,
CONFIG_USBHOST_STACKSIZE,
(main_t)usbhost_waiter, (FAR char * const *)NULL);
return pid < 0 ? -ENOEXEC : OK;