From e75b99d16081f482ace4044d1e7e2a9241175728 Mon Sep 17 00:00:00 2001 From: Russell Date: Tue, 29 Nov 2011 17:24:12 +0000 Subject: [PATCH] Rely on SELF_POWERED define as master branch. --- module_usb_aud_shared/endpoint0/descriptors_2.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/module_usb_aud_shared/endpoint0/descriptors_2.h b/module_usb_aud_shared/endpoint0/descriptors_2.h index f526635a..e8cb0a3d 100644 --- a/module_usb_aud_shared/endpoint0/descriptors_2.h +++ b/module_usb_aud_shared/endpoint0/descriptors_2.h @@ -239,7 +239,7 @@ unsigned char cfgDesc_Audio2[] = 0x00, /* 6 iConfiguration */ #ifdef SELF_POWERED 192, /* 7 bmAttributes */ - 1, /* 8 bMaxPower */ + 5, /* 8 bMaxPower */ #else 128, /* 7 bmAttributes */ 250, /* 8 bMaxPower */ @@ -1283,7 +1283,7 @@ unsigned char cfgDesc_Null[] = #else 128, #endif - 1, /* 8 bMaxPower */ + 250, /* 8 bMaxPower */ 0x09, /* 0 bLength : Size of this descriptor, in bytes. (field size 1 bytes) */ 0x04, /* 1 bDescriptorType : INTERFACE descriptor. (field size 1 bytes) */ @@ -1347,7 +1347,7 @@ unsigned char cfgDesc_Audio1[] = 0x00, /* Unused */ #ifdef SELF_POWERED 192, /* 7 bmAttributes */ - 1, /* 8 bMaxPower */ + 5, /* 8 bMaxPower */ #else 128, /* 7 bmAttributes */ 250, /* 8 bMaxPower */