diff options
author | Christian Starkjohann <cs+github@obdev.at> | 2015-09-04 11:45:24 +0200 |
---|---|---|
committer | Christian Starkjohann <cs+github@obdev.at> | 2015-09-04 11:45:24 +0200 |
commit | 39202048ea1fb7d14a5970c805ffd5f0b7f0fcdf (patch) | |
tree | ec8e01331ab84bf0f00bf385f3f9a5337efda57e | |
parent | 6f64e80f219273967d6ac7096f3ca3d7db5a0e79 (diff) | |
download | v-usb-39202048ea1fb7d14a5970c805ffd5f0b7f0fcdf.tar.gz v-usb-39202048ea1fb7d14a5970c805ffd5f0b7f0fcdf.tar.bz2 v-usb-39202048ea1fb7d14a5970c805ffd5f0b7f0fcdf.zip |
For bus-powered devices add the "Remote Wake" attribute to the configuration descriptor.
-rw-r--r-- | usbdrv/usbdrv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usbdrv/usbdrv.c b/usbdrv/usbdrv.c index 6c61e3b..b6df986 100644 --- a/usbdrv/usbdrv.c +++ b/usbdrv/usbdrv.c @@ -149,7 +149,7 @@ PROGMEM const char usbDescriptorConfiguration[] = { /* USB configuration desc #if USB_CFG_IS_SELF_POWERED (1 << 7) | USBATTR_SELFPOWER, /* attributes */ #else - (1 << 7), /* attributes */ + (1 << 7) | USBATTR_REMOTEWAKE, /* attributes */ #endif USB_CFG_MAX_BUS_POWER/2, /* max USB current in 2mA units */ /* interface descriptor follows inline: */ |