lcd: remove superflous char erase on backspace. Ignore bell.
[pandora-u-boot.git] / common / lcd.c
index 66d4f94..095dfd9 100644 (file)
@@ -163,8 +163,6 @@ static inline void console_back(void)
                }
        }
 
                }
        }
 
-       lcd_putc_xy(console_col * VIDEO_FONT_WIDTH,
-               console_row * VIDEO_FONT_HEIGHT, ' ');
 }
 
 /*----------------------------------------------------------------------*/
 }
 
 /*----------------------------------------------------------------------*/
@@ -194,6 +192,9 @@ void lcd_putc(const char c)
        }
 
        switch (c) {
        }
 
        switch (c) {
+       case '\a': /* I guess we'll just live without a bell,
+                        we're just an lcd. Todo: visual bell? :P */
+               return;
        case '\r':
                console_col = 0;
 
        case '\r':
                console_col = 0;