mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2025-12-10 07:44:53 +01:00
lcd_putc bug fix for tab.
Signed-off-by: Derek Ou <dou@siconix.com>
This commit is contained in:
parent
35c9e14d80
commit
6bcb4b806c
1 changed files with 1 additions and 1 deletions
|
|
@ -187,7 +187,7 @@ void lcd_putc (const char c)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
case '\t': /* Tab (8 chars alignment) */
|
case '\t': /* Tab (8 chars alignment) */
|
||||||
console_col |= 8;
|
console_col += 8;
|
||||||
console_col &= ~7;
|
console_col &= ~7;
|
||||||
|
|
||||||
if (console_col >= CONSOLE_COLS) {
|
if (console_col >= CONSOLE_COLS) {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue