diff options
Diffstat (limited to 'nuttx/configs/pic32-starterkit/src/up_nsh.c')
-rw-r--r-- | nuttx/configs/pic32-starterkit/src/up_nsh.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/nuttx/configs/pic32-starterkit/src/up_nsh.c b/nuttx/configs/pic32-starterkit/src/up_nsh.c index 4eda69bda..6500e0a41 100644 --- a/nuttx/configs/pic32-starterkit/src/up_nsh.c +++ b/nuttx/configs/pic32-starterkit/src/up_nsh.c @@ -307,14 +307,9 @@ static int nsh_usbhostinitialize(void) message("nsh_usbhostinitialize: Start nsh_waiter\n"); -#ifndef CONFIG_CUSTOM_STACK pid = task_create("usbhost", CONFIG_USBHOST_DEFPRIO, CONFIG_USBHOST_STACKSIZE, (main_t)nsh_waiter, (FAR char * const *)NULL); -#else - pid = task_create("usbhost", CONFIG_USBHOST_DEFPRIO, - (main_t)nsh_waiter, (FAR char * const *)NULL); -#endif return pid < 0 ? -ENOEXEC : OK; } return -ENODEV; |