Samsung YH-820: implement an inverting of colours on the lcd.

Change-Id: Ibddf444b35402f8d2a9ad8b6af9d897a6618da18
This commit is contained in:
Szymon Dziok 2014-06-01 20:24:58 +00:00
parent 8326f173f9
commit 701eaa647b
2 changed files with 3 additions and 3 deletions

View file

@ -64,7 +64,7 @@
/* #define HAVE_LCD_FLIP */
/* define this if you can invert the colours on your LCD */
/* todo #define HAVE_LCD_INVERT */
#define HAVE_LCD_INVERT
/* put the lcd frame buffer in IRAM */
/* #define IRAM_LCDFRAMEBUFFER IDATA_ATTR */

View file

@ -212,8 +212,8 @@ void lcd_set_contrast(int val)
void lcd_set_invert_display(bool yesno)
{
/* TODO: Implement lcd_set_invert_display() */
(void)yesno;
lcd_send_command(R_SPEC_DISPLAY_PATTERN);
lcd_send_command(yesno);
}
#if defined(HAVE_LCD_ENABLE)