From 960333ca091b7bd8fa20c82c83c1a700477d8fce Mon Sep 17 00:00:00 2001 From: Michael Banther Date: Wed, 25 Sep 2019 14:38:17 +0100 Subject: [PATCH] Add the missing MSB of the maximum packet size and use hex values instead of decimal. --- lib_xua/src/core/endpoint0/xua_ep0_descriptors.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib_xua/src/core/endpoint0/xua_ep0_descriptors.h b/lib_xua/src/core/endpoint0/xua_ep0_descriptors.h index 61ba05d7..ae7ef76a 100644 --- a/lib_xua/src/core/endpoint0/xua_ep0_descriptors.h +++ b/lib_xua/src/core/endpoint0/xua_ep0_descriptors.h @@ -2863,7 +2863,8 @@ unsigned char cfgDesc_Audio1[] = 0x05, /* 1 bDescriptorType */ ENDPOINT_ADDRESS_IN_HID, /* 2 bEndpointAddress */ 0x03, /* 3 bmAttributes (INTERRUPT) */ - 64, /* 4 wMaxPacketSize */ + 0x40, /* 4 wMaxPacketSize */ + 0x00, /* 5 wMaxPacketSize */ 0x08, /* 6 bInterval */ #endif