Fixed internal device serial not being accessible on the ATMEGAXXU2 AVRs (thanks...
[pub/USBasp.git] / Projects / AVRISP-MKII / AVRISP.c
index 88403b2..81c1385 100644 (file)
@@ -49,7 +49,6 @@ int main(void)
        for (;;)
        {
                Process_AVRISP_Commands();
-               
                V2Params_UpdateParamValues();
                
                USB_USBTask();
@@ -98,7 +97,7 @@ void EVENT_USB_Device_ConfigurationChanged(void)
                LEDs_SetAllLEDs(LEDMASK_USB_ERROR);
        }
 
-       #if defined(LIBUSB_FILTERDRV_COMPAT)
+       #if defined(LIBUSB_DRIVER_COMPAT)
        if (!(Endpoint_ConfigureEndpoint(AVRISP_DATA_IN_EPNUM, EP_TYPE_BULK,
                                             ENDPOINT_DIR_IN, AVRISP_DATA_EPSIZE,
                                         ENDPOINT_BANK_SINGLE)))