From cf47d5c22cf7f84c9b3bb36ce657f9622de8ab18 Mon Sep 17 00:00:00 2001 From: Micah Elizabeth Scott <micah@scanlime.org> Date: Fri, 4 Oct 2013 17:42:39 -0700 Subject: [PATCH] Config descriptor: This is a bus powered device --- bootloader/usb_desc.c | 2 +- firmware/usb_desc.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bootloader/usb_desc.c b/bootloader/usb_desc.c index 9617c3e..d84229a 100644 --- a/bootloader/usb_desc.c +++ b/bootloader/usb_desc.c @@ -108,7 +108,7 @@ static uint8_t config_descriptor[CONFIG_DESC_SIZE] = { NUM_INTERFACE, // bNumInterfaces 1, // bConfigurationValue 0, // iConfiguration - 0xC0, // bmAttributes + 0x80, // bmAttributes 50, // bMaxPower #ifdef FC_INTERFACE diff --git a/firmware/usb_desc.c b/firmware/usb_desc.c index 50a8a71..b8e0263 100644 --- a/firmware/usb_desc.c +++ b/firmware/usb_desc.c @@ -109,7 +109,7 @@ static uint8_t config_descriptor[CONFIG_DESC_SIZE] = { NUM_INTERFACE, // bNumInterfaces 1, // bConfigurationValue 0, // iConfiguration - 0xC0, // bmAttributes + 0x80, // bmAttributes 50, // bMaxPower #ifdef FC_INTERFACE -- GitLab