summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 8da2efb)
raw | patch | inline | side by side (parent: 8da2efb)
author | Pali Rohár <pali.rohar@gmail.com> | |
Sat, 28 Apr 2012 07:26:43 +0000 (07:26 +0000) | ||
committer | Anatolij Gustschin <agust@denx.de> | |
Mon, 4 Jun 2012 20:42:02 +0000 (22:42 +0200) |
* Do not disable and enable the cursor again.
console_back() is called only from video_putc() which already turns
the cursor off at the beginning and turns it on at the end, so there
is no need to change the cursor in console_back().
Signed-off-by: Pali Rohár <pali.rohar@gmail.com>
Signed-off-by: Anatolij Gustschin <agust@denx.de>
console_back() is called only from video_putc() which already turns
the cursor off at the beginning and turns it on at the end, so there
is no need to change the cursor in console_back().
Signed-off-by: Pali Rohár <pali.rohar@gmail.com>
Signed-off-by: Anatolij Gustschin <agust@denx.de>
drivers/video/cfb_console.c | patch | blob | history |
index 904caf768917fe8137f27b5583ab5eb4e3b8a355..51ea1671cf6b4a2eea31404ec4d034dfb857444e 100644 (file)
static void console_back(void)
{
- CURSOR_OFF;
console_col--;
if (console_col < 0) {
if (console_row < 0)
console_row = 0;
}
- CURSOR_SET;
}
static void console_newline(void)