Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed
Fork of webserverBlinky by
Diff: main.cpp
- Revision:
- 104:b1280b084f75
- Parent:
- 103:4f5512dd11cf
- Child:
- 105:45001195b325
diff -r 4f5512dd11cf -r b1280b084f75 main.cpp --- 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;