summaryrefslogtreecommitdiff
path: root/nuttx/configs/cloudctrl/src/up_usb.c
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/configs/cloudctrl/src/up_usb.c')
-rw-r--r--nuttx/configs/cloudctrl/src/up_usb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/configs/cloudctrl/src/up_usb.c b/nuttx/configs/cloudctrl/src/up_usb.c
index 4442f9192..77b79db2f 100644
--- a/nuttx/configs/cloudctrl/src/up_usb.c
+++ b/nuttx/configs/cloudctrl/src/up_usb.c
@@ -194,7 +194,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;