From 3b8effc24a0c65b831ff4f20c2853d644d9211fe Mon Sep 17 00:00:00 2001 From: Ross Owen Date: Fri, 10 May 2013 16:19:10 +0100 Subject: [PATCH] defines now using HID_ prefix --- module_usb_audio/endpoint0/endpoint0.xc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/module_usb_audio/endpoint0/endpoint0.xc b/module_usb_audio/endpoint0/endpoint0.xc index e6e18725..bc0abc27 100755 --- a/module_usb_audio/endpoint0/endpoint0.xc +++ b/module_usb_audio/endpoint0/endpoint0.xc @@ -379,7 +379,7 @@ void Endpoint0( chanend c_ep0_out, chanend c_ep0_in, chanend c_audioControl, { #ifdef HID_CONTROLS - case GET_DESCRIPTOR: + case USB_GET_DESCRIPTOR: /* Check what inteface request is for */ if(sp.wIndex == INTERFACE_NUM_HID) @@ -388,7 +388,7 @@ void Endpoint0( chanend c_ep0_out, chanend c_ep0_in, chanend c_audioControl, unsigned descriptorType = sp.wValue & 0xff00; switch (descriptorType) { - case REPORT: + case HID_REPORT: /* Return HID report descriptor */ retVal = XUD_DoGetRequest(ep0_out, ep0_in, hidReportDescriptor, sizeof(hidReportDescriptor), sp.wLength);