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