forked from len0rd/rockbox
Samsung YH-820: implement an inverting of colours on the lcd.
Change-Id: Ibddf444b35402f8d2a9ad8b6af9d897a6618da18
This commit is contained in:
parent
8326f173f9
commit
701eaa647b
2 changed files with 3 additions and 3 deletions
|
|
@ -64,7 +64,7 @@
|
||||||
/* #define HAVE_LCD_FLIP */
|
/* #define HAVE_LCD_FLIP */
|
||||||
|
|
||||||
/* define this if you can invert the colours on your LCD */
|
/* 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 */
|
/* put the lcd frame buffer in IRAM */
|
||||||
/* #define IRAM_LCDFRAMEBUFFER IDATA_ATTR */
|
/* #define IRAM_LCDFRAMEBUFFER IDATA_ATTR */
|
||||||
|
|
|
||||||
|
|
@ -212,8 +212,8 @@ void lcd_set_contrast(int val)
|
||||||
|
|
||||||
void lcd_set_invert_display(bool yesno)
|
void lcd_set_invert_display(bool yesno)
|
||||||
{
|
{
|
||||||
/* TODO: Implement lcd_set_invert_display() */
|
lcd_send_command(R_SPEC_DISPLAY_PATTERN);
|
||||||
(void)yesno;
|
lcd_send_command(yesno);
|
||||||
}
|
}
|
||||||
|
|
||||||
#if defined(HAVE_LCD_ENABLE)
|
#if defined(HAVE_LCD_ENABLE)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue