Commit 9629ccca authored by Robert Abel's avatar Robert Abel Committed by 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: default avatarRobert Abel <rabel@robertabel.eu>
Signed-off-by: default avatarMiguel Ojeda <miguel.ojeda.sandonis@gmail.com>
parent 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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment