diff options
author | Fabio Utzig <utzig@utzig.org> | 2016-07-17 17:07:41 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-07-17 17:07:41 -0300 |
commit | bf620a05ed23155fe09111b04ec9915cfd93bf38 (patch) | |
tree | 74db39abf76e800bacb9b6b0e429e9eb678d00a5 /os/hal/ports/KINETIS/LLD/hal_usb_lld.h | |
parent | c7afdebe336e148a4e05453324fbbbcf1bb5a399 (diff) | |
parent | db3057e1fc46c21be4873542e7781b40aed922cc (diff) | |
download | ChibiOS-Contrib-bf620a05ed23155fe09111b04ec9915cfd93bf38.tar.gz ChibiOS-Contrib-bf620a05ed23155fe09111b04ec9915cfd93bf38.tar.bz2 ChibiOS-Contrib-bf620a05ed23155fe09111b04ec9915cfd93bf38.zip |
Merge pull request #92 from flabbergast/kinetis
[KINETIS] Add saved_state to USB driver.
Diffstat (limited to 'os/hal/ports/KINETIS/LLD/hal_usb_lld.h')
-rw-r--r-- | os/hal/ports/KINETIS/LLD/hal_usb_lld.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/os/hal/ports/KINETIS/LLD/hal_usb_lld.h b/os/hal/ports/KINETIS/LLD/hal_usb_lld.h index 593ef16..961490e 100644 --- a/os/hal/ports/KINETIS/LLD/hal_usb_lld.h +++ b/os/hal/ports/KINETIS/LLD/hal_usb_lld.h @@ -326,6 +326,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
|