summaryrefslogtreecommitdiff
path: root/nuttx/include
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2013-04-23 16:41:43 -0600
committerGregory Nutt <gnutt@nuttx.org>2013-04-23 16:41:43 -0600
commit385413eff99d22658833085adfe30e7e451f57cd (patch)
treea4ee42b7a39886a95df289c1688acd3b3f94002d /nuttx/include
parent663c80136e271c9a20ab7d820448334ac572275e (diff)
downloadpx4-nuttx-385413eff99d22658833085adfe30e7e451f57cd.tar.gz
px4-nuttx-385413eff99d22658833085adfe30e7e451f57cd.tar.bz2
px4-nuttx-385413eff99d22658833085adfe30e7e451f57cd.zip
Reviewed all task exit logic. For pthread_exit() moved some logic higher in the exit sequence that could be required to block. For lower level logic kicked off by _exit(), add logic to prevent blocking when the task is not in a healthy state.
Diffstat (limited to 'nuttx/include')
-rw-r--r--nuttx/include/nuttx/usb/usbdev.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/include/nuttx/usb/usbdev.h b/nuttx/include/nuttx/usb/usbdev.h
index 1270fe13a..7d47055d7 100644
--- a/nuttx/include/nuttx/usb/usbdev.h
+++ b/nuttx/include/nuttx/usb/usbdev.h
@@ -289,8 +289,8 @@ struct usbdev_s
{
const struct usbdev_ops_s *ops; /* Access to hardware specific features */
struct usbdev_ep_s *ep0; /* Endpoint zero */
- uint8_t speed; /* Current speed of the host connection */
- uint8_t dualspeed:1; /* 1:supports high and full speed operation */
+ uint8_t speed; /* Current speed of the host connection */
+ uint8_t dualspeed:1; /* 1:supports high and full speed operation */
};
/* USB Device Class Implementations *************************************************/