aboutsummaryrefslogtreecommitdiffstats
path: root/Projects
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2010-02-18 05:10:24 +0000
committerDean Camera <dean@fourwalledcubicle.com>2010-02-18 05:10:24 +0000
commit012628f635b66169b81ab66d4059c3360dd4b612 (patch)
treeb83f1037b15337770a7724342c3b4f37fba457a3 /Projects
parent3b6987bca3ef746fd9a5d4baec6d40b65c9b4101 (diff)
downloadlufa-012628f635b66169b81ab66d4059c3360dd4b612.tar.gz
lufa-012628f635b66169b81ab66d4059c3360dd4b612.tar.bz2
lufa-012628f635b66169b81ab66d4059c3360dd4b612.zip
Turn OFF double banking in the Webserver demo - leaving it on seems to destroy the system throughput.
Diffstat (limited to 'Projects')
-rw-r--r--Projects/Webserver/USBDeviceMode.c4
-rw-r--r--Projects/Webserver/USBHostMode.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/Projects/Webserver/USBDeviceMode.c b/Projects/Webserver/USBDeviceMode.c
index c93ba4632..6e1a4ed23 100644
--- a/Projects/Webserver/USBDeviceMode.c
+++ b/Projects/Webserver/USBDeviceMode.c
@@ -48,11 +48,11 @@ USB_ClassInfo_MS_Device_t Disk_MS_Interface =
.DataINEndpointNumber = MASS_STORAGE_IN_EPNUM,
.DataINEndpointSize = MASS_STORAGE_IO_EPSIZE,
- .DataINEndpointDoubleBank = false,
+ .DataINEndpointDoubleBank = true,
.DataOUTEndpointNumber = MASS_STORAGE_OUT_EPNUM,
.DataOUTEndpointSize = MASS_STORAGE_IO_EPSIZE,
- .DataOUTEndpointDoubleBank = false,
+ .DataOUTEndpointDoubleBank = true,
.TotalLUNs = 1,
},
diff --git a/Projects/Webserver/USBHostMode.c b/Projects/Webserver/USBHostMode.c
index b8e2dcee7..14f33e07c 100644
--- a/Projects/Webserver/USBHostMode.c
+++ b/Projects/Webserver/USBHostMode.c
@@ -45,10 +45,10 @@ USB_ClassInfo_RNDIS_Host_t Ethernet_RNDIS_Interface =
.Config =
{
.DataINPipeNumber = 1,
- .DataINPipeDoubleBank = true,
+ .DataINPipeDoubleBank = false,
.DataOUTPipeNumber = 2,
- .DataOUTPipeDoubleBank = true,
+ .DataOUTPipeDoubleBank = false,
.NotificationPipeNumber = 3,
.NotificationPipeDoubleBank = false,