mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 08:36:24 +08:00
Remove final traces of the 8015 from the NuttX source tree
This commit is contained in:
+1
-11
@@ -960,13 +960,8 @@ int slip_initialize(int intf, FAR const char *devname)
|
||||
argv[0] = buffer;
|
||||
argv[1] = NULL;
|
||||
|
||||
#ifndef CONFIG_CUSTOM_STACK
|
||||
priv->rxpid = task_create("rxslip", CONFIG_SLIP_DEFPRIO,
|
||||
CONFIG_SLIP_STACKSIZE, (main_t)slip_rxtask, argv);
|
||||
#else
|
||||
priv->rxpid = task_create("rxslip", CONFIG_SLIP_DEFPRIO,
|
||||
(main_t)slip_rxtask, argv);
|
||||
#endif
|
||||
if (priv->rxpid < 0)
|
||||
{
|
||||
ndbg("ERROR: Failed to start receiver task\n");
|
||||
@@ -979,13 +974,8 @@ int slip_initialize(int intf, FAR const char *devname)
|
||||
|
||||
/* Start the SLIP transmitter task */
|
||||
|
||||
#ifndef CONFIG_CUSTOM_STACK
|
||||
priv->txpid = task_create("txslip", CONFIG_SLIP_DEFPRIO,
|
||||
CONFIG_SLIP_STACKSIZE, (main_t)slip_txtask, argv);
|
||||
#else
|
||||
priv->txpid = task_create("txslip", CONFIG_SLIP_DEFPRIO,
|
||||
(main_t)slip_txtask, argv);
|
||||
#endif
|
||||
CONFIG_SLIP_STACKSIZE, (main_t)slip_txtask, argv);
|
||||
if (priv->txpid < 0)
|
||||
{
|
||||
ndbg("ERROR: Failed to start receiver task\n");
|
||||
|
||||
@@ -1646,7 +1646,7 @@ int usbmsc_exportluns(FAR void *handle)
|
||||
g_usbmsc_handoff = priv;
|
||||
|
||||
uvdbg("Starting SCSI worker thread\n");
|
||||
priv->thpid = KERNEL_THREAD("scsid", CONFIG_USBMSC_SCSI_PRIO,
|
||||
priv->thpid = kernel_thread("scsid", CONFIG_USBMSC_SCSI_PRIO,
|
||||
CONFIG_USBMSC_SCSI_STACKSIZE,
|
||||
usbmsc_scsi_main, NULL);
|
||||
if (priv->thpid <= 0)
|
||||
|
||||
@@ -1577,14 +1577,9 @@ static inline int usbhost_devinit(FAR struct usbhost_state_s *priv)
|
||||
usbhost_takesem(&g_exclsem);
|
||||
g_priv = priv;
|
||||
|
||||
#ifndef CONFIG_CUSTOM_STACK
|
||||
priv->pollpid = task_create("kbdpoll", CONFIG_HIDKBD_DEFPRIO,
|
||||
CONFIG_HIDKBD_STACKSIZE,
|
||||
(main_t)usbhost_kbdpoll, (FAR char * const *)NULL);
|
||||
#else
|
||||
priv->pollpid = task_create("kbdpoll", CONFIG_HIDKBD_DEFPRIO,
|
||||
(main_t)usbhost_kbdpoll, (FAR char * const *)NULL);
|
||||
#endif
|
||||
if (priv->pollpid == ERROR)
|
||||
{
|
||||
/* Failed to started the poll thread... probably due to memory resources */
|
||||
|
||||
@@ -1649,14 +1649,9 @@ static inline int usbhost_devinit(FAR struct usbhost_state_s *priv)
|
||||
usbhost_takesem(&g_exclsem);
|
||||
g_priv = priv;
|
||||
|
||||
#ifndef CONFIG_CUSTOM_STACK
|
||||
priv->pollpid = task_create("mouse", CONFIG_HIDMOUSE_DEFPRIO,
|
||||
CONFIG_HIDMOUSE_STACKSIZE,
|
||||
(main_t)usbhost_mouse_poll, (FAR char * const *)NULL);
|
||||
#else
|
||||
priv->pollpid = task_create("mouse", CONFIG_HIDMOUSE_DEFPRIO,
|
||||
(main_t)usbhost_mouse_poll, (FAR char * const *)NULL);
|
||||
#endif
|
||||
if (priv->pollpid == ERROR)
|
||||
{
|
||||
/* Failed to started the poll thread... probably due to memory resources */
|
||||
|
||||
Reference in New Issue
Block a user