diff options
author | Giovanni Di Sirio <gdisirio@gmail.com> | 2016-06-16 09:34:09 +0000 |
---|---|---|
committer | Giovanni Di Sirio <gdisirio@gmail.com> | 2016-06-16 09:34:09 +0000 |
commit | b5c1568431d724a1d15476bbc7ac0ae62435b6fc (patch) | |
tree | 591bcaeacd50e734df400edaa0aeba0896772dde /os/hal/ports/AVR | |
parent | c3150eb13679314f8bfc02714ae0027dd1658002 (diff) | |
download | ChibiOS-b5c1568431d724a1d15476bbc7ac0ae62435b6fc.tar.gz ChibiOS-b5c1568431d724a1d15476bbc7ac0ae62435b6fc.tar.bz2 ChibiOS-b5c1568431d724a1d15476bbc7ac0ae62435b6fc.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@9629 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/ports/AVR')
-rw-r--r-- | os/hal/ports/AVR/hal_usb_lld.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/os/hal/ports/AVR/hal_usb_lld.h b/os/hal/ports/AVR/hal_usb_lld.h index e47d38425..c52e23abb 100644 --- a/os/hal/ports/AVR/hal_usb_lld.h +++ b/os/hal/ports/AVR/hal_usb_lld.h @@ -307,6 +307,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 |