Skip to content
Snippets Groups Projects
Commit 6bcb4b80 authored by Derek Ou's avatar Derek Ou Committed by Wolfgang Denk
Browse files

lcd_putc bug fix for tab.


Signed-off-by: default avatarDerek Ou <dou@siconix.com>
parent 35c9e14d
No related branches found
No related tags found
No related merge requests found
...@@ -187,7 +187,7 @@ void lcd_putc (const char c) ...@@ -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) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment