提交 9629ccca 编写于 作者: R Robert Abel 提交者: Miguel Ojeda

auxdisplay: charlcd: replace octal literal with form-feed escape sequence

There is no need to resort to octal escape sequence for the form feed
character when an established escape sequence exists.
Signed-off-by: NRobert Abel <rabel@robertabel.eu>
Signed-off-by: NMiguel Ojeda <miguel.ojeda.sandonis@gmail.com>
上级 8c483758
......@@ -556,7 +556,7 @@ static void charlcd_write_char(struct charlcd *lcd, char c)
/* back one char again */
lcd->ops->write_cmd(lcd, LCD_CMD_SHIFT);
break;
case '\014':
case '\f':
/* quickly clear the display */
charlcd_clear_fast(lcd);
break;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册