1
0
Fork 0
forked from len0rd/rockbox

YH820: implement LCD sleep

use sleep setting to keep transflective LCD active without backlight

Change-Id: Iccd97e956d5e4a2a22abc90d15e9123782126ecb
This commit is contained in:
Sebastian Leonhardt 2016-06-25 15:25:30 +02:00
parent 60f60d9a12
commit 03e63da316
4 changed files with 57 additions and 8 deletions

View file

@ -60,6 +60,10 @@ void backlight_set_on_button_hold(int index);
void lcd_set_sleep_after_backlight_off(int timeout_seconds);
#endif
#ifdef HAVE_LCD_SLEEP
void lcd_awake(void);
#endif
#else /* !HAVE_BACKLIGHT */
#define backlight_init()
#endif /* !HAVE_BACKLIGHT */