diff options
author | Sebastian Leonhardt <sebastian.leonhardt@web.de> | 2016-06-25 15:25:30 +0200 |
---|---|---|
committer | Sebastian Leonhardt <sebastian.leonhardt@web.de> | 2019-02-07 20:04:19 +0100 |
commit | 03e63da3165fa2ea02286a4497d2e9cf0bdc6ea6 (patch) | |
tree | 81a7a555bdf07e4bc868d00d7aaa2a32d0f1c079 /firmware/export/backlight.h | |
parent | 60f60d9a12977cea8329b0b1c68981a2ad87b392 (diff) | |
download | rockbox-03e63da3165fa2ea02286a4497d2e9cf0bdc6ea6.tar.gz rockbox-03e63da3165fa2ea02286a4497d2e9cf0bdc6ea6.zip |
YH820: implement LCD sleep
use sleep setting to keep transflective LCD active without backlight
Change-Id: Iccd97e956d5e4a2a22abc90d15e9123782126ecb
Diffstat (limited to 'firmware/export/backlight.h')
-rw-r--r-- | firmware/export/backlight.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/firmware/export/backlight.h b/firmware/export/backlight.h index a1c65a3b4e..6d029790b3 100644 --- a/firmware/export/backlight.h +++ b/firmware/export/backlight.h | |||
@@ -60,6 +60,10 @@ void backlight_set_on_button_hold(int index); | |||
60 | void lcd_set_sleep_after_backlight_off(int timeout_seconds); | 60 | void lcd_set_sleep_after_backlight_off(int timeout_seconds); |
61 | #endif | 61 | #endif |
62 | 62 | ||
63 | #ifdef HAVE_LCD_SLEEP | ||
64 | void lcd_awake(void); | ||
65 | #endif | ||
66 | |||
63 | #else /* !HAVE_BACKLIGHT */ | 67 | #else /* !HAVE_BACKLIGHT */ |
64 | #define backlight_init() | 68 | #define backlight_init() |
65 | #endif /* !HAVE_BACKLIGHT */ | 69 | #endif /* !HAVE_BACKLIGHT */ |