diff options
author | Christian Starkjohann <cs+github@obdev.at> | 2012-01-08 18:25:42 +0000 |
---|---|---|
committer | Christian Starkjohann <cs+github@obdev.at> | 2012-01-08 18:25:42 +0000 |
commit | 7cc0da72195daa0ee891651e8726b6487387a5f7 (patch) | |
tree | f94a85ceb91c0b1115a904a25fbcb0573020acf4 /usbdrv | |
parent | 09ab8794544f20d60c1ce5a2847fd3ef4e8817e8 (diff) | |
download | v-usb-7cc0da72195daa0ee891651e8726b6487387a5f7.tar.gz v-usb-7cc0da72195daa0ee891651e8726b6487387a5f7.tar.bz2 v-usb-7cc0da72195daa0ee891651e8726b6487387a5f7.zip |
- keep a define for USBATTR_BUSPOWER
Diffstat (limited to 'usbdrv')
-rw-r--r-- | usbdrv/Changelog.txt | 3 | ||||
-rw-r--r-- | usbdrv/usbdrv.h | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/usbdrv/Changelog.txt b/usbdrv/Changelog.txt index 5c6354a..8eb2d96 100644 --- a/usbdrv/Changelog.txt +++ b/usbdrv/Changelog.txt @@ -306,3 +306,6 @@ Scroll down to the bottom to see the most recent changes. endpoint now. * Release 2010-07-15 + + - Keep a define for USBATTR_BUSPOWER, although the flag does not exist + in USB 1.1 any more. Set it to 0. diff --git a/usbdrv/usbdrv.h b/usbdrv/usbdrv.h index 660c70d..3be3a16 100644 --- a/usbdrv/usbdrv.h +++ b/usbdrv/usbdrv.h @@ -719,6 +719,7 @@ typedef struct usbRequest{ #define USBDESCR_HID_PHYS 0x23 //#define USBATTR_BUSPOWER 0x80 // USB 1.1 does not define this value any more +#define USBATTR_BUSPOWER 0 #define USBATTR_SELFPOWER 0x40 #define USBATTR_REMOTEWAKE 0x20 |