浏览代码

Update shell.c

loogg 6 年之前
父节点
当前提交
52d1e51e3e
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      components/finsh/shell.c

+ 1 - 1
components/finsh/shell.c

@@ -309,7 +309,7 @@ static void finsh_wait_auth(void)
                 else if (ch == '\b' && cur_pos > 0)
                 else if (ch == '\b' && cur_pos > 0)
                 {
                 {
                     /* backspace */
                     /* backspace */
-		    cur_pos--;
+                    cur_pos--;
                     password[cur_pos] = '\0';
                     password[cur_pos] = '\0';
                     rt_kprintf("\b \b");
                     rt_kprintf("\b \b");
                 }
                 }