summaryrefslogtreecommitdiff
path: root/protocol/lufa
diff options
context:
space:
mode:
Diffstat (limited to 'protocol/lufa')
-rw-r--r--protocol/lufa/descriptor.c2
-rw-r--r--protocol/lufa/lufa.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/protocol/lufa/descriptor.c b/protocol/lufa/descriptor.c
index 5454926b18..b345da27b4 100644
--- a/protocol/lufa/descriptor.c
+++ b/protocol/lufa/descriptor.c
@@ -266,7 +266,7 @@ const USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor =
.ConfigAttributes = (USB_CONFIG_ATTR_RESERVED | USB_CONFIG_ATTR_REMOTEWAKEUP),
- .MaxPowerConsumption = USB_CONFIG_POWER_MA(100)
+ .MaxPowerConsumption = USB_CONFIG_POWER_MA(500)
},
/*
diff --git a/protocol/lufa/lufa.c b/protocol/lufa/lufa.c
index b31f3031ee..85c7bf712f 100644
--- a/protocol/lufa/lufa.c
+++ b/protocol/lufa/lufa.c
@@ -840,13 +840,13 @@ int main(void)
/* wait for USB startup & debug output */
- // while (USB_DeviceState != DEVICE_STATE_Configured) {
+ while (USB_DeviceState != DEVICE_STATE_Configured) {
// #if defined(INTERRUPT_CONTROL_ENDPOINT)
// ;
// #else
USB_USBTask();
// #endif
- // }
+ }
print("USB configured.\n");
/* init modules */