mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-09 13:12:37 -05:00
Sansa Connect: Power off LCD to save power
Prevent startup screen flash by properly using AVR LCM functions. Power off LCD when not needed to improve battery runtime. Change-Id: I76e3c5c0208774f189fbc6f7d7b3c9e22c062285
This commit is contained in:
parent
89d3ca77b6
commit
2acf8db3e1
5 changed files with 92 additions and 48 deletions
|
|
@ -81,9 +81,8 @@
|
|||
#define LCD_PIXELFORMAT RGB565 /* rgb565 */
|
||||
|
||||
#define HAVE_LCD_ENABLE
|
||||
#ifndef BOOTLOADER
|
||||
#define HAVE_LCD_SLEEP
|
||||
#endif
|
||||
#define HAVE_LCD_SHUTDOWN
|
||||
|
||||
#define LCD_SLEEP_TIMEOUT (2*HZ)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue