From 62e68397882825c5253a1ba8b7669c04acd5a3c5 Mon Sep 17 00:00:00 2001 From: Thorsten von Eicken Date: Sun, 28 Jun 2015 23:57:53 -0700 Subject: [PATCH] fix serial LED; fixes #22 --- html/log.html | 6 +++--- serial/serbridge.c | 19 +++++++++---------- 2 files changed, 12 insertions(+), 13 deletions(-) diff --git a/html/log.html b/html/log.html index 8dc88fe..717e48c 100644 --- a/html/log.html +++ b/html/log.html @@ -5,13 +5,13 @@
-
+ -

- The debug log shows the 1024 last characters printed by the esp-link software itself to +

+ The debug log shows the most recent characters printed by the esp-link software itself to its own debug log.

diff --git a/serial/serbridge.c b/serial/serbridge.c index b3c48c9..6d45610 100644 --- a/serial/serbridge.c +++ b/serial/serbridge.c @@ -81,8 +81,6 @@ static void ICACHE_FLASH_ATTR serbridgeSentCb(void *arg) { //os_printf("%d ST\n", system_get_time()); conn->readytosend = true; sendtxbuffer(conn); // send possible new data in txbuffer - - serledFlash(50); // short blink on serial LED } // Telnet protocol characters @@ -309,15 +307,16 @@ static void ICACHE_FLASH_ATTR serbridgeConnectCb(void *arg) { // callback with a buffer of characters that have arrived on the uart void ICACHE_FLASH_ATTR serbridgeUartCb(char *buf, int length) { - // push the buffer into the microcontroller console - for (int i=0; i