Skip to content

Commit

Permalink
usb: Advertise need for 500mA
Browse files Browse the repository at this point in the history
  • Loading branch information
keirf committed May 5, 2020
1 parent 2dd2993 commit 840b6a3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/usb/config.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down Expand Up @@ -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 */
Expand Down

0 comments on commit 840b6a3

Please sign in to comment.