fix a uart readline bug, which echo 2 CR+LF mistakenly

This commit is contained in:
funshine 2014-12-31 12:19:53 +08:00
parent a93e62c444
commit eb27c4fb27
1 changed files with 1 additions and 0 deletions

View File

@ -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 */