Skip to content
Snippets Groups Projects
Commit c88777e0 authored by Timur Tabi's avatar Timur Tabi Committed by Anatolij Gustschin
Browse files

video: cfb_console: fix definition and usage of CURSOR_xxx macros


The CURSOR_ON, CURSOR_OFF, and CURSOR_SET macros are defined incorrectly.  If
cursor support is disabled, then these macros are defined to nothing, but
then they are used like this:

	if (console_col < CONSOLE_COLS)
		CURSOR_OFF
	console_row++;

which was compiled like this:

	if (console_col < CONSOLE_COLS)
		console_row++;

This is obviously not what was intended.

Signed-off-by: default avatarTimur Tabi <timur@freescale.com>
Acked-by: default avatarDetlev Zundel <dzu@denx.de>
parent 800eb096
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment