Lab2_web / Mbed 2 deprecated webserverBlinky

Dependencies:   mbed

Fork of webserverBlinky by RealTimeCompLab2

Files at this revision

API Documentation at this revision

Comitter:
nixnax
Date:
Mon Jul 31 08:41:44 2017 +0000
Parent:
103:4f5512dd11cf
Child:
105:45001195b325
Commit message:
Reduced receive buffer size

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Mon Jul 31 08:14:13 2017 +0000
+++ b/main.cpp	Mon Jul 31 08:41:44 2017 +0000
@@ -101,7 +101,7 @@
     int ledState; // state of LED1
     int httpPageCount;
     struct {
-#define RXBUFLEN (1<<14)
+#define RXBUFLEN (1<<12) 
         // the serial port receive buffer and packet buffer, size is RXBUFLEN (currently 8192 bytes)
         char buf[RXBUFLEN]; // RXBUFLEN MUST be a power of two because we use & operator for fast wrap-around in ring buffer
         int head;