From db3057e1fc46c21be4873542e7781b40aed922cc Mon Sep 17 00:00:00 2001 From: flabbergast Date: Sun, 17 Jul 2016 20:49:48 +0100 Subject: [KINETIS] Add saved_state to USB driver. --- os/hal/ports/KINETIS/LLD/hal_usb_lld.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'os/hal') 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 -- cgit v1.2.3