From 5508f10ac9c5cb49f41284b383ba18637f5c7f77 Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Thu, 14 Jan 2016 18:10:38 -0700 Subject: video: Handle the 'bell' character This can be sent when to many characters are entered. Make sure it is ignored and does not cause a character to be displayed. Signed-off-by: Simon Glass --- drivers/video/vidconsole-uclass.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'drivers/video/vidconsole-uclass.c') diff --git a/drivers/video/vidconsole-uclass.c b/drivers/video/vidconsole-uclass.c index 3145fd8..4c0efd5 100644 --- a/drivers/video/vidconsole-uclass.c +++ b/drivers/video/vidconsole-uclass.c @@ -91,6 +91,9 @@ int vidconsole_put_char(struct udevice *dev, char ch) int ret; switch (ch) { + case '\a': + /* beep */ + break; case '\r': priv->xcur_frac = 0; break; -- cgit v1.1