From bcfd541f92743a2d722c99f2a75149d80aded3e6 Mon Sep 17 00:00:00 2001 From: Russell Date: Tue, 13 Dec 2011 15:11:35 +0000 Subject: [PATCH] Reduce power for null configurator. --- module_usb_aud_shared/endpoint0/descriptors_2.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/module_usb_aud_shared/endpoint0/descriptors_2.h b/module_usb_aud_shared/endpoint0/descriptors_2.h index 17b96bd8..cedcbbc9 100644 --- a/module_usb_aud_shared/endpoint0/descriptors_2.h +++ b/module_usb_aud_shared/endpoint0/descriptors_2.h @@ -1279,11 +1279,12 @@ unsigned char cfgDesc_Null[] = 0x01, /* 5 bConfigurationValue */ 0x00, /* 6 iConfiguration */ #ifdef SELF_POWERED - 192, /* 7 bmAttributes */ + 192, /* 7 bmAttributes */ + 0, /* 8 bMaxPower */ #else 128, -#endif 250, /* 8 bMaxPower */ +#endif 0x09, /* 0 bLength : Size of this descriptor, in bytes. (field size 1 bytes) */ 0x04, /* 1 bDescriptorType : INTERFACE descriptor. (field size 1 bytes) */