forked from PAWPAW-Mirror/lib_xua
Fixed build issue: INTERFACE_NUM_HID -> INTERFACE_NUMBER_HID
This commit is contained in:
@@ -331,7 +331,7 @@ void Endpoint0(chanend c_ep0_out, chanend c_ep0_in, chanend c_audioControl,
|
||||
case USB_GET_DESCRIPTOR:
|
||||
|
||||
/* Check what inteface request is for */
|
||||
if(sp.wIndex == INTERFACE_NUM_HID)
|
||||
if(sp.wIndex == INTERFACE_NUMBER_HID)
|
||||
{
|
||||
/* High byte of wValue is descriptor type */
|
||||
unsigned descriptorType = sp.wValue & 0xff00;
|
||||
|
||||
Reference in New Issue
Block a user