commit | 978333af153c61f250d533af23218f8b63c3523b | [log] [tgz] |
---|---|---|
author | Bartlomiej Sieka <tur@semihalf.com> | Wed Aug 02 00:54:18 2006 +0200 |
committer | Bartlomiej Sieka <tur@semihalf.com> | Wed Aug 02 00:54:18 2006 +0200 |
tree | f1547f3d33bac6b3c2a28b42d98305f5e67c28bf | |
parent | 0d8e1dcd8c7f61d5cb881c03c4b316f4bfaa8fc3 [diff] [blame] |
Add rudimentary handling of alternate settings of USB interfaces - to fix problems with some USB storage devices. Some code readability improvements.
diff --git a/include/usb.h b/include/usb.h index 39d7f23..bf71554 100644 --- a/include/usb.h +++ b/include/usb.h
@@ -108,6 +108,7 @@ unsigned char iInterface; unsigned char no_of_ep; + unsigned char num_altsetting; unsigned char act_altsetting; struct usb_endpoint_descriptor ep_desc[USB_MAXENDPOINTS]; } __attribute__ ((packed));