diff options
Diffstat (limited to 'nuttx/configs/sama5d3-xplained/src/sam_usb.c')
-rw-r--r-- | nuttx/configs/sama5d3-xplained/src/sam_usb.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/configs/sama5d3-xplained/src/sam_usb.c b/nuttx/configs/sama5d3-xplained/src/sam_usb.c index 13deaea7a..1105d8809 100644 --- a/nuttx/configs/sama5d3-xplained/src/sam_usb.c +++ b/nuttx/configs/sama5d3-xplained/src/sam_usb.c @@ -342,7 +342,7 @@ int sam_usbhost_initialize(void) /* Start a thread to handle device connection. */ - pid = TASK_CREATE("OHCI Monitor", CONFIG_USBHOST_DEFPRIO, CONFIG_USBHOST_STACKSIZE, + pid = task_create("OHCI Monitor", CONFIG_USBHOST_DEFPRIO, CONFIG_USBHOST_STACKSIZE, (main_t)ohci_waiter, (FAR char * const *)NULL); if (pid < 0) { @@ -363,7 +363,7 @@ int sam_usbhost_initialize(void) /* Start a thread to handle device connection. */ - pid = TASK_CREATE("EHCI Monitor", CONFIG_USBHOST_DEFPRIO, CONFIG_USBHOST_STACKSIZE, + pid = task_create("EHCI Monitor", CONFIG_USBHOST_DEFPRIO, CONFIG_USBHOST_STACKSIZE, (main_t)ehci_waiter, (FAR char * const *)NULL); if (pid < 0) { |