Explorar o código

cfb_console: Ignore bell character

Signed-off-by: Pali Rohár <pali.rohar@gmail.com>
Pali Rohár %!s(int64=13) %!d(string=hai) anos
pai
achega
24fe06cc6f
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  1. 3 0
      drivers/video/cfb_console.c

+ 3 - 0
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);