diff options
| author | Dean <Dean@d5102386-fcda-11dd-9fdb-3debd5008f28> | 2010-01-25 11:50:41 +0000 |
|---|---|---|
| committer | Dean <Dean@d5102386-fcda-11dd-9fdb-3debd5008f28> | 2010-01-25 11:50:41 +0000 |
| commit | 30a8a630c8e391149910f7a6356bacad1f3d0756 (patch) | |
| tree | 8900ab7368cdd124b725a65da47407f96fd46053 /Projects | |
| parent | a65c23aa881b4188cde287a55038a14899962f6b (diff) | |
Fixed CDC and RNDIS host demos and class drivers - bidirectional endpoints should use two seperate pipes, not one half-duplex pipe.
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1062 d5102386-fcda-11dd-9fdb-3debd5008f28
Diffstat (limited to 'Projects')
| -rw-r--r-- | Projects/Incomplete/Webserver/Lib/WebserverApp.c | 3 | ||||
| -rw-r--r-- | Projects/Incomplete/Webserver/Webserver.c | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/Projects/Incomplete/Webserver/Lib/WebserverApp.c b/Projects/Incomplete/Webserver/Lib/WebserverApp.c index 97218b2b..11acec4b 100644 --- a/Projects/Incomplete/Webserver/Lib/WebserverApp.c +++ b/Projects/Incomplete/Webserver/Lib/WebserverApp.c @@ -65,7 +65,8 @@ char PROGMEM HTTPPage[] = " <body>"
" <h1>Hello from your USB AVR!</h1>"
" <p>"
- " Hello! Welcome to the LUFA RNDIS Demo Webserver test page, running on your USB AVR via the LUFA library. This demonstrates the HTTP webserver, TCP/IP stack and RNDIS demo all running atop the LUFA USB stack."
+ " Hello! Welcome to the LUFA RNDIS Demo Webserver test page, running on your USB AVR via the LUFA library and uIP TCP/IP network stack. This"
+ " demonstrates a simple HTTP webserver serving out pages to HTTP clients."
" <br /><br />"
" <small>Project Information: <a href=\"http://www.fourwalledcubicle.com/LUFA.php\">http://www.fourwalledcubicle.com/LUFA.php</a>.</small>"
" <hr />"
diff --git a/Projects/Incomplete/Webserver/Webserver.c b/Projects/Incomplete/Webserver/Webserver.c index 74636b8a..c0ceeed7 100644 --- a/Projects/Incomplete/Webserver/Webserver.c +++ b/Projects/Incomplete/Webserver/Webserver.c @@ -174,7 +174,7 @@ void ProcessIncommingPacket(void) LEDs_SetAllLEDs(LEDMASK_USB_BUSY);
/* Read the incomming packet straight into the UIP packet buffer */
- printf("L=%d R=%d\r\n", uip_len, RNDIS_Host_ReadPacket(&Ethernet_RNDIS_Interface, &uip_buf[0], &uip_len));
+ RNDIS_Host_ReadPacket(&Ethernet_RNDIS_Interface, &uip_buf[0], &uip_len);
if (uip_len > 0)
{
|
