lcd_putc bug fix for tab.

Signed-off-by: Derek Ou <dou@siconix.com>
master
Derek Ou 16 years ago committed by Wolfgang Denk
parent 35c9e14d80
commit 6bcb4b806c
  1. 2
      common/lcd.c

@ -187,7 +187,7 @@ void lcd_putc (const char c)
return;
case '\t': /* Tab (8 chars alignment) */
console_col |= 8;
console_col += 8;
console_col &= ~7;
if (console_col >= CONSOLE_COLS) {

Loading…
Cancel
Save