summaryrefslogtreecommitdiff
path: root/nuttx/configs/stm32f4discovery/src/stm32_usb.c
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/configs/stm32f4discovery/src/stm32_usb.c')
-rw-r--r--nuttx/configs/stm32f4discovery/src/stm32_usb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/configs/stm32f4discovery/src/stm32_usb.c b/nuttx/configs/stm32f4discovery/src/stm32_usb.c
index 055c1e427..b1b24511c 100644
--- a/nuttx/configs/stm32f4discovery/src/stm32_usb.c
+++ b/nuttx/configs/stm32f4discovery/src/stm32_usb.c
@@ -212,7 +212,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;