From feeab552b96854449e1c2fb97ec1b0f058a859a0 Mon Sep 17 00:00:00 2001 From: Thorsten von Eicken Date: Sat, 4 Jul 2015 11:12:48 -0700 Subject: [PATCH] reset console buffer --- serial/console.c | 1 + 1 file changed, 1 insertion(+) diff --git a/serial/console.c b/serial/console.c index a4cf1a8..7b22b36 100644 --- a/serial/console.c +++ b/serial/console.c @@ -50,6 +50,7 @@ console_write_char(char c) { int ICACHE_FLASH_ATTR ajaxConsoleReset(HttpdConnData *connData) { jsonHeader(connData, 200); + console_rd = console_wr = console_pos = 0; serbridgeReset(); return HTTPD_CGI_DONE; }