From c966e7982c4fa42d7dae6b4f4dca6966b695a973 Mon Sep 17 00:00:00 2001 From: Jack Humbert Date: Thu, 22 Oct 2015 13:37:45 -0400 Subject: bluetooth --- protocol/lufa/descriptor.c | 2 +- protocol/lufa/lufa.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'protocol/lufa') 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 */ -- cgit v1.2.3