From b578d759b504715a6bac30960d5e31fe7966dd1d Mon Sep 17 00:00:00 2001 From: Russell Date: Thu, 1 Dec 2011 16:29:03 +0000 Subject: [PATCH] bMaxPower should be zero for self powered USB --- module_usb_aud_shared/endpoint0/descriptors_2.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/module_usb_aud_shared/endpoint0/descriptors_2.h b/module_usb_aud_shared/endpoint0/descriptors_2.h index e8cb0a3d..17b96bd8 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 */ - 5, /* 8 bMaxPower */ + 0, /* 8 bMaxPower */ #else 128, /* 7 bmAttributes */ 250, /* 8 bMaxPower */ @@ -1347,7 +1347,7 @@ unsigned char cfgDesc_Audio1[] = 0x00, /* Unused */ #ifdef SELF_POWERED 192, /* 7 bmAttributes */ - 5, /* 8 bMaxPower */ + 0, /* 8 bMaxPower */ #else 128, /* 7 bmAttributes */ 250, /* 8 bMaxPower */