Skip to content

Commit 9629ccc

Browse files
Tauwasserojeda
authored andcommitted
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: Robert Abel <[email protected]> Signed-off-by: Miguel Ojeda <[email protected]>
1 parent 8c48375 commit 9629ccc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/auxdisplay/charlcd.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -556,7 +556,7 @@ static void charlcd_write_char(struct charlcd *lcd, char c)
556556
/* back one char again */
557557
lcd->ops->write_cmd(lcd, LCD_CMD_SHIFT);
558558
break;
559-
case '\014':
559+
case '\f':
560560
/* quickly clear the display */
561561
charlcd_clear_fast(lcd);
562562
break;

0 commit comments

Comments
 (0)