[KINETIS] Add saved_state to USB driver.
This commit is contained in:
parent
c7afdebe33
commit
db3057e1fc
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue