diff options
author | Simon Glass <sjg@chromium.org> | 2016-01-15 04:10:38 +0300 |
---|---|---|
committer | Anatolij Gustschin <agust@denx.de> | 2016-01-30 12:55:02 +0300 |
commit | 5508f10ac9c5cb49f41284b383ba18637f5c7f77 (patch) | |
tree | 1a833fc3b4fd508356c1d7ea04760e414571ed59 /drivers/video/vidconsole-uclass.c | |
parent | f266178698307608ee23741e69b9626196e66481 (diff) | |
download | u-boot-5508f10ac9c5cb49f41284b383ba18637f5c7f77.tar.xz |
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 <sjg@chromium.org>
Diffstat (limited to 'drivers/video/vidconsole-uclass.c')
-rw-r--r-- | drivers/video/vidconsole-uclass.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/video/vidconsole-uclass.c b/drivers/video/vidconsole-uclass.c index 3145fd8d6f..4c0efd52f5 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; |