common/lcd_console: ask only one-time for bg/fg-color per call
authorHannes Petermaier <hannes.petermaier@br-automation.com>
Fri, 27 Mar 2015 07:01:36 +0000 (08:01 +0100)
committerAnatolij Gustschin <agust@denx.de>
Sat, 18 Apr 2015 08:24:38 +0000 (10:24 +0200)
commita202c5bd24d68d640fcb0d6f43ff7f30ccc5780d
treef307f40c1ab9c00f4e7378fa205e5a3a03fc4ecf
parent97562c12f1fac25a272a7079e234b9157eeedce5
common/lcd_console: ask only one-time for bg/fg-color per call

Don't call the lcd_getfgcolor and lcd_getbgcolor within the "draw-loop", this
only wastes time.

Signed-off-by: Hannes Petermaier <hannes.petermaier@br-automation.com>
Signed-off-by: Hannes Petermaier <oe5hpm@oevsv.at>
Acked-by: Nikita Kiryanov <nikita@compulab.co.il>
common/lcd_console.c