From eb27c4fb2744b18dc6d0044f27a19d415e35d38d Mon Sep 17 00:00:00 2001 From: funshine Date: Wed, 31 Dec 2014 12:19:53 +0800 Subject: [PATCH] fix a uart readline bug, which echo 2 CR+LF mistakenly --- app/lua/lua.c | 1 + 1 file changed, 1 insertion(+) diff --git a/app/lua/lua.c b/app/lua/lua.c index 13c6f541..a803a306 100644 --- a/app/lua/lua.c +++ b/app/lua/lua.c @@ -645,6 +645,7 @@ void ICACHE_FLASH_ATTR readline(lua_Load *load){ os_timer_setfn(&lua_timer, (os_timer_func_t *)dojob, load); os_timer_arm(&lua_timer, READLINE_INTERVAL, 0); // no repeat } + continue; } /* other control character or not an acsii character */