diff options
author | Giovanni Di Sirio <gdisirio@gmail.com> | 2016-01-04 14:09:52 +0000 |
---|---|---|
committer | Giovanni Di Sirio <gdisirio@gmail.com> | 2016-01-04 14:09:52 +0000 |
commit | 5c2d43e6912254b2a51c01e6bb6e285d1dfc40ca (patch) | |
tree | 64bc13c4319d3cda864633657c8ffa956f561e40 /os/hal/templates/usb_lld.h | |
parent | e3cac893e9c3062dda2a9ee00b372c1e0ea1a9ed (diff) | |
download | ChibiOS-5c2d43e6912254b2a51c01e6bb6e285d1dfc40ca.tar.gz ChibiOS-5c2d43e6912254b2a51c01e6bb6e285d1dfc40ca.tar.bz2 ChibiOS-5c2d43e6912254b2a51c01e6bb6e285d1dfc40ca.zip |
Fixed some template files.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@8686 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/templates/usb_lld.h')
-rw-r--r-- | os/hal/templates/usb_lld.h | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/os/hal/templates/usb_lld.h b/os/hal/templates/usb_lld.h index 3d6764bc6..e1c237a6a 100644 --- a/os/hal/templates/usb_lld.h +++ b/os/hal/templates/usb_lld.h @@ -93,8 +93,13 @@ typedef struct { * @brief Pointer to the transmission linear buffer.
*/
const uint8_t *txbuf;
+#if (USB_USE_WAIT == TRUE) || defined(__DOXYGEN__)
+ /**
+ * @brief Waiting thread.
+ */
+ thread_reference_t thread;
+#endif
/* End of the mandatory fields.*/
- } mode;
} USBInEndpointState;
/**
@@ -113,6 +118,12 @@ typedef struct { * @brief Pointer to the receive linear buffer.
*/
uint8_t *rxbuf;
+#if (USB_USE_WAIT == TRUE) || defined(__DOXYGEN__)
+ /**
+ * @brief Waiting thread.
+ */
+ thread_reference_t thread;
+#endif
/* End of the mandatory fields.*/
} USBOutEndpointState;
|