diff options
author | Jack Humbert <jack.humb@gmail.com> | 2015-10-22 13:37:45 -0400 |
---|---|---|
committer | Jack Humbert <jack.humb@gmail.com> | 2015-10-22 13:37:45 -0400 |
commit | c966e7982c4fa42d7dae6b4f4dca6966b695a973 (patch) | |
tree | eb08b6591c19c6e47f387ee444a3894ef974aff3 /protocol/lufa | |
parent | 40148c430e76f8632cf96a1fda96e2dfa594975c (diff) |
bluetooth
Diffstat (limited to 'protocol/lufa')
-rw-r--r-- | protocol/lufa/descriptor.c | 2 | ||||
-rw-r--r-- | protocol/lufa/lufa.c | 4 |
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 */ |