diff options
author | Giovanni Di Sirio <gdisirio@gmail.com> | 2016-06-16 09:22:22 +0000 |
---|---|---|
committer | Giovanni Di Sirio <gdisirio@gmail.com> | 2016-06-16 09:22:22 +0000 |
commit | c3150eb13679314f8bfc02714ae0027dd1658002 (patch) | |
tree | ccb186462f6402db2fd8acded21d103519a58905 /os/hal/ports/STM32/LLD | |
parent | 77a63206e770cb4a73abf3063ce381fa8de4705b (diff) | |
download | ChibiOS-c3150eb13679314f8bfc02714ae0027dd1658002.tar.gz ChibiOS-c3150eb13679314f8bfc02714ae0027dd1658002.tar.bz2 ChibiOS-c3150eb13679314f8bfc02714ae0027dd1658002.zip |
USB fixes.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@9628 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/ports/STM32/LLD')
-rw-r--r-- | os/hal/ports/STM32/LLD/OTGv1/hal_usb_lld.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/os/hal/ports/STM32/LLD/OTGv1/hal_usb_lld.h b/os/hal/ports/STM32/LLD/OTGv1/hal_usb_lld.h index 168bc364b..2339a23f0 100644 --- a/os/hal/ports/STM32/LLD/OTGv1/hal_usb_lld.h +++ b/os/hal/ports/STM32/LLD/OTGv1/hal_usb_lld.h @@ -457,6 +457,10 @@ struct USBDriver { * @brief Current USB device configuration.
*/
uint8_t configuration;
+ /**
+ * @brief State of the driver when a suspend happened.
+ */
+ usbstate_t saved_state;
#if defined(USB_DRIVER_EXT_FIELDS)
USB_DRIVER_EXT_FIELDS
#endif
|