Minor corrections to the XMEGA USB controller implementation.
[pub/USBasp.git] / Projects / Webserver / USBDeviceMode.c
index f5856eb..c555c4f 100644 (file)
@@ -48,21 +48,21 @@ USB_ClassInfo_RNDIS_Device_t Ethernet_RNDIS_Interface_Device =
 
                                .DataINEndpointNumber           = CDC_TX_EPNUM,
                                .DataINEndpointSize             = CDC_TXRX_EPSIZE,
 
                                .DataINEndpointNumber           = CDC_TX_EPNUM,
                                .DataINEndpointSize             = CDC_TXRX_EPSIZE,
-                               .DataINEndpointDoubleBank       = false,
+                               .DataINEndpointDoubleBank       = true,
 
                                .DataOUTEndpointNumber          = CDC_RX_EPNUM,
                                .DataOUTEndpointSize            = CDC_TXRX_EPSIZE,
 
                                .DataOUTEndpointNumber          = CDC_RX_EPNUM,
                                .DataOUTEndpointSize            = CDC_TXRX_EPSIZE,
-                               .DataOUTEndpointDoubleBank      = false,
+                               .DataOUTEndpointDoubleBank      = true,
 
                                .NotificationEndpointNumber     = CDC_NOTIFICATION_EPNUM,
                                .NotificationEndpointSize       = CDC_NOTIFICATION_EPSIZE,
 
                                .NotificationEndpointNumber     = CDC_NOTIFICATION_EPNUM,
                                .NotificationEndpointSize       = CDC_NOTIFICATION_EPSIZE,
-                               .NotificationEndpointDoubleBank = false,
+                               .NotificationEndpointDoubleBank = true,
 
                                .AdapterVendorDescription       = "LUFA RNDIS Adapter",
                                .AdapterMACAddress              = {{0x02, 0x00, 0x02, 0x00, 0x02, 0x00}},
                        },
        };
 
                                .AdapterVendorDescription       = "LUFA RNDIS Adapter",
                                .AdapterMACAddress              = {{0x02, 0x00, 0x02, 0x00, 0x02, 0x00}},
                        },
        };
-       
+
 /** LUFA Mass Storage Class driver interface configuration and state information. This structure is
  *  passed to all Mass Storage Class driver functions, so that multiple instances of the same class
  *  within a device can be differentiated from one another.
 /** LUFA Mass Storage Class driver interface configuration and state information. This structure is
  *  passed to all Mass Storage Class driver functions, so that multiple instances of the same class
  *  within a device can be differentiated from one another.