commit | 7455af41d19d5e0194e23f3b06f1bf64e3430d62 | [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 | f3e06df7e89a1b6ff6701d523b4beea6e3fa5159 [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));