setting device current to threshold without requesting more 200/2= 100mA.

This commit is contained in:
Paul Molloy 2017-07-22 13:30:41 -05:00
parent 41c3948262
commit 464598be21
1 changed files with 1 additions and 1 deletions

View File

@ -118,7 +118,7 @@ section at the end of this file).
/* Define this to 1 if the device has its own power supply. Set it to 0 if the /* Define this to 1 if the device has its own power supply. Set it to 0 if the
* device is powered from the USB bus. * device is powered from the USB bus.
*/ */
#define USB_CFG_MAX_BUS_POWER 300 #define USB_CFG_MAX_BUS_POWER 200
/* Set this variable to the maximum USB bus power consumption of your device. /* Set this variable to the maximum USB bus power consumption of your device.
* The value is in milliamperes. [It will be divided by two since USB * The value is in milliamperes. [It will be divided by two since USB
* communicates power requirements in units of 2 mA.] * communicates power requirements in units of 2 mA.]