diff --git a/module_usb_audio/endpoint0/endpoint0.c b/module_usb_audio/endpoint0/endpoint0.c index 99449f5f..7ec06c09 100755 --- a/module_usb_audio/endpoint0/endpoint0.c +++ b/module_usb_audio/endpoint0/endpoint0.c @@ -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;