aboutsummaryrefslogtreecommitdiff
path: root/Projects
diff options
context:
space:
mode:
authorDean <Dean@d5102386-fcda-11dd-9fdb-3debd5008f28>2010-02-18 05:10:24 +0000
committerDean <Dean@d5102386-fcda-11dd-9fdb-3debd5008f28>2010-02-18 05:10:24 +0000
commite3e990a362be4da7257faf3133b5c2c6fabedcbb (patch)
treeb83f1037b15337770a7724342c3b4f37fba457a3 /Projects
parentb60c56a5c6ac2943c5cc1dd6a4534c374c2131ff (diff)
Turn OFF double banking in the Webserver demo - leaving it on seems to destroy the system throughput.
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1135 d5102386-fcda-11dd-9fdb-3debd5008f28
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 c93ba463..6e1a4ed2 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 b8e2dcee..14f33e07 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,