Fix compile errors for the USB XMEGA parts when the USB driver is used.
[pub/lufa.git] / LUFA / Drivers / USB / Core / XMEGA / Endpoint_XMEGA.h
index 15ba8fe..18fe403 100644 (file)
                                uint8_t EPTypeMask = 0;
                                switch (Type)
                                {
-                                       case USB_EPTYPE_Control:
+                                       case EP_TYPE_CONTROL:
                                                EPTypeMask = USB_EP_TYPE_CONTROL_gc;
                                                break;
-                                       case USB_EPTYPE_Isochronous:
+                                       case EP_TYPE_ISOCHRONOUS:
                                                EPTypeMask = USB_EP_TYPE_ISOCHRONOUS_gc;
                                                break;
                                        default: