From 431db89b00408197976d653d89d15eeef8172e1b Mon Sep 17 00:00:00 2001 From: Dean Camera Date: Mon, 25 Jan 2010 11:50:41 +0000 Subject: Fixed CDC and RNDIS host demos and class drivers - bidirectional endpoints should use two seperate pipes, not one half-duplex pipe. --- Projects/Incomplete/Webserver/Lib/WebserverApp.c | 3 ++- Projects/Incomplete/Webserver/Webserver.c | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'Projects/Incomplete/Webserver') 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[] = " " "

Hello from your USB AVR!

" "

" - " 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." "

" " Project Information: http://www.fourwalledcubicle.com/LUFA.php." "


" 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) { -- cgit v1.2.3