Merge pull request #92 from flabbergast/kinetis

[KINETIS] Add saved_state to USB driver.
This commit is contained in:
Fabio Utzig 2016-07-17 17:07:41 -03:00 committed by GitHub
commit bf620a05ed
1 changed files with 4 additions and 0 deletions

View File

@ -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