diff options
author | Manuel Odendahl <wesen@ruinwesen.com> | 2013-04-26 11:08:59 +0200 |
---|---|---|
committer | Manuel Odendahl <wesen@ruinwesen.com> | 2013-04-26 11:12:03 +0200 |
commit | 47d911dc5b675958f554491b7d750899db2c943c (patch) | |
tree | 6fcb9e390b55a6a99cca2656a10f1a42e7b21441 /libmaple/include | |
parent | be005eb7acc1fa08aa92b47d905e5a8ec38f5d6e (diff) | |
download | librambutan-47d911dc5b675958f554491b7d750899db2c943c.tar.gz librambutan-47d911dc5b675958f554491b7d750899db2c943c.zip |
Preserve previous usb state when suspending / restore on resume
Signed-off-by: Manuel Odendahl <wesen@ruinwesen.com>
Diffstat (limited to 'libmaple/include')
-rw-r--r-- | libmaple/include/libmaple/usb.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libmaple/include/libmaple/usb.h b/libmaple/include/libmaple/usb.h index 2be5971..ea24030 100644 --- a/libmaple/include/libmaple/usb.h +++ b/libmaple/include/libmaple/usb.h @@ -151,6 +151,7 @@ typedef struct usblib_dev { void (**ep_int_in)(void); void (**ep_int_out)(void); usb_dev_state state; + usb_dev_state prevState; rcc_clk_id clk_id; } usblib_dev; |