diff options
Diffstat (limited to 'tmk_core/protocol/vusb/vusb.c')
| -rw-r--r-- | tmk_core/protocol/vusb/vusb.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/tmk_core/protocol/vusb/vusb.c b/tmk_core/protocol/vusb/vusb.c index 00314ebe8..470d29ba3 100644 --- a/tmk_core/protocol/vusb/vusb.c +++ b/tmk_core/protocol/vusb/vusb.c | |||
| @@ -521,11 +521,7 @@ const PROGMEM usbConfigurationDescriptor_t usbConfigurationDescriptor = { | |||
| 521 | # endif | 521 | # endif |
| 522 | .bConfigurationValue = 0x01, | 522 | .bConfigurationValue = 0x01, |
| 523 | .iConfiguration = 0x00, | 523 | .iConfiguration = 0x00, |
| 524 | # if USB_CFG_IS_SELF_POWERED | 524 | .bmAttributes = (1 << 7) | USBATTR_REMOTEWAKE, |
| 525 | .bmAttributes = (1 << 7) | USBATTR_SELFPOWER, | ||
| 526 | # else | ||
| 527 | .bmAttributes = (1 << 7), | ||
| 528 | # endif | ||
| 529 | .bMaxPower = USB_MAX_POWER_CONSUMPTION / 2 | 525 | .bMaxPower = USB_MAX_POWER_CONSUMPTION / 2 |
| 530 | }, | 526 | }, |
| 531 | 527 | ||
