diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-09-04 00:54:09 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-09-04 00:54:09 +0000 |
commit | d8aa30d561322f24cf0eb67f27f41ad9ab52474e (patch) | |
tree | 7bfc2aaf9a03320f24991b54a67a1db24e05f100 /nuttx/drivers/usbhost/usbhost_storage.c | |
parent | ed14f7102218c784f1f22649485de262f34a6507 (diff) | |
download | px4-nuttx-d8aa30d561322f24cf0eb67f27f41ad9ab52474e.tar.gz px4-nuttx-d8aa30d561322f24cf0eb67f27f41ad9ab52474e.tar.bz2 px4-nuttx-d8aa30d561322f24cf0eb67f27f41ad9ab52474e.zip |
Add support for multiple work queues
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5081 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/drivers/usbhost/usbhost_storage.c')
-rw-r--r-- | nuttx/drivers/usbhost/usbhost_storage.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/drivers/usbhost/usbhost_storage.c b/nuttx/drivers/usbhost/usbhost_storage.c index 2e3136b33..2b14676d7 100644 --- a/nuttx/drivers/usbhost/usbhost_storage.c +++ b/nuttx/drivers/usbhost/usbhost_storage.c @@ -1786,7 +1786,7 @@ static int usbhost_disconnected(struct usbhost_class_s *class) uvdbg("Queuing destruction: worker %p->%p\n", priv->work.worker, usbhost_destroy); DEBUGASSERT(priv->work.worker == NULL); - (void)work_queue(&priv->work, usbhost_destroy, priv, 0); + (void)work_queue(HPWORK, &priv->work, usbhost_destroy, priv, 0); } else { |