Fixed build issue: INTERFACE_NUM_HID -> INTERFACE_NUMBER_HID

This commit is contained in:
Ross Owen
2014-03-26 14:47:42 +00:00
parent 1a5ba8c75b
commit 351827cb81

View File

@@ -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;