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:
parent
60f60d9a12
commit
03e63da316
4 changed files with 57 additions and 8 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue