From 840b6a30a820813a952b5d7277b6ed66973e77ae Mon Sep 17 00:00:00 2001 From: Keir Fraser Date: Tue, 5 May 2020 10:24:41 +0100 Subject: [PATCH] usb: Advertise need for 500mA --- src/usb/config.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/usb/config.c b/src/usb/config.c index 8f350df9..00713bc1 100644 --- a/src/usb/config.c +++ b/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 */