summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPali Rohár <pali.rohar@gmail.com>2012-04-28 07:26:47 +0000
committerAnatolij Gustschin <agust@denx.de>2012-06-05 09:24:10 +0200
commit24fe06cc6f9ec3b6f5367a267818d90dd6e68870 (patch)
tree5c96f06f7887c681e3fe72de18d901c0d4599b8c
parent90f60a81daa714b2395d2e9ee3ea25db883ca061 (diff)
cfb_console: Ignore bell character
Signed-off-by: Pali Rohár <pali.rohar@gmail.com>
-rw-r--r--drivers/video/cfb_console.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/video/cfb_console.c b/drivers/video/cfb_console.c
index 6fa61d2728..b38cbd474c 100644
--- a/drivers/video/cfb_console.c
+++ b/drivers/video/cfb_console.c
@@ -803,6 +803,9 @@ void video_putc(const char c)
console_back();
break;
+ case 7: /* bell */
+ break; /* ignored */
+
default: /* draw the char */
video_putchar(console_col * VIDEO_FONT_WIDTH,
console_row * VIDEO_FONT_HEIGHT, c);