[KINETIS] Add saved_state to USB driver.

This commit is contained in:
flabbergast 2016-07-17 20:49:48 +01:00
parent c7afdebe33
commit db3057e1fc
1 changed files with 4 additions and 0 deletions

View File

@ -326,6 +326,10 @@ struct USBDriver {
* @brief Current USB device configuration. * @brief Current USB device configuration.
*/ */
uint8_t configuration; uint8_t configuration;
/**
* @brief State of the driver when a suspend happened.
*/
usbstate_t saved_state;
#if defined(USB_DRIVER_EXT_FIELDS) #if defined(USB_DRIVER_EXT_FIELDS)
USB_DRIVER_EXT_FIELDS USB_DRIVER_EXT_FIELDS
#endif #endif