Forráskód Böngészése

usb: Advertise need for 500mA

Keir Fraser 4 éve
szülő
commit
840b6a30a8
1 módosított fájl, 2 hozzáadás és 2 törlés
  1. 2 2
      src/usb/config.c

+ 2 - 2
src/usb/config.c

@@ -39,7 +39,7 @@ const uint8_t config_fs_descriptor[] aligned(2) = {
     0x01, /* 5 bConfigurationValue */
     0x00, /* 6 iConfiguration - index of string */
     0x80, /* 7 bmAttributes - Bus powered */
-    0xC8, /* 8 bMaxPower - 400mA */
+    0xFA, /* 8 bMaxPower - 500mA */
 /* CDC Communication interface */
     0x09, /* 0 bLength */
     DESC_INTERFACE, /* 1 bDescriptorType - Interface */
@@ -114,7 +114,7 @@ const uint8_t config_hs_descriptor[] aligned(2) = {
     0x01, /* 5 bConfigurationValue */
     0x00, /* 6 iConfiguration - index of string */
     0x80, /* 7 bmAttributes - Bus powered */
-    0xC8, /* 8 bMaxPower - 400mA */
+    0xFA, /* 8 bMaxPower - 500mA */
 /* CDC Communication interface */
     0x09, /* 0 bLength */
     DESC_INTERFACE, /* 1 bDescriptorType - Interface */