From d83cc9ac8049f651637dc2d9b8632f3c208bbdf6 Mon Sep 17 00:00:00 2001 From: Dean Camera Date: Tue, 13 Jul 2010 14:17:18 +0000 Subject: Change AVRISP-MKII and XPLAINBridge descriptors to indicate that the device is bus-powered only. Add compile time options to reduce the compiled size of the firmware. --- Projects/AVRISP-MKII/Descriptors.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Projects/AVRISP-MKII/Descriptors.c') diff --git a/Projects/AVRISP-MKII/Descriptors.c b/Projects/AVRISP-MKII/Descriptors.c index a57ad06c3..95a41f18a 100644 --- a/Projects/AVRISP-MKII/Descriptors.c +++ b/Projects/AVRISP-MKII/Descriptors.c @@ -81,7 +81,7 @@ USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor = .ConfigurationNumber = 1, .ConfigurationStrIndex = NO_DESCRIPTOR, - .ConfigAttributes = (USB_CONFIG_ATTR_BUSPOWERED | USB_CONFIG_ATTR_SELFPOWERED), + .ConfigAttributes = USB_CONFIG_ATTR_BUSPOWERED, .MaxPowerConsumption = USB_CONFIG_POWER_MA(100) }, -- cgit v1.2.3