diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2010-01-25 11:50:41 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2010-01-25 11:50:41 +0000 |
commit | 431db89b00408197976d653d89d15eeef8172e1b (patch) | |
tree | 8900ab7368cdd124b725a65da47407f96fd46053 /Projects/Incomplete/Webserver | |
parent | 74b6993d66d70c323beb4d7eccf5b8f45bf6d31f (diff) | |
download | lufa-431db89b00408197976d653d89d15eeef8172e1b.tar.gz lufa-431db89b00408197976d653d89d15eeef8172e1b.tar.bz2 lufa-431db89b00408197976d653d89d15eeef8172e1b.zip |
Fixed CDC and RNDIS host demos and class drivers - bidirectional endpoints should use two seperate pipes, not one half-duplex pipe.
Diffstat (limited to 'Projects/Incomplete/Webserver')
-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 97218b2be..11acec4b7 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 74636b8a5..c0ceeed78 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)
{
|