summaryrefslogtreecommitdiff
path: root/nuttx/configs/stm3240g-eval/src/up_usb.c
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/configs/stm3240g-eval/src/up_usb.c')
-rw-r--r--nuttx/configs/stm3240g-eval/src/up_usb.c2
1 files changed, 1 insertions, 1 deletions
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;