diff options
author | Tomasz Moń <desowin@gmail.com> | 2021-07-05 15:15:30 +0200 |
---|---|---|
committer | Tomasz Moń <desowin@gmail.com> | 2021-07-05 15:19:52 +0200 |
commit | 2acf8db3e14e8c81f27cb0cea5b366678693c7b3 (patch) | |
tree | 95a60cd59f8debdfa7c5388a7ec4cdfbb4057176 /firmware/export/config | |
parent | 89d3ca77b6ffd0ad499d91e8c66100f6d852e358 (diff) | |
download | rockbox-2acf8db3e14e8c81f27cb0cea5b366678693c7b3.tar.gz rockbox-2acf8db3e14e8c81f27cb0cea5b366678693c7b3.zip |
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
Diffstat (limited to 'firmware/export/config')
-rw-r--r-- | firmware/export/config/sansaconnect.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/firmware/export/config/sansaconnect.h b/firmware/export/config/sansaconnect.h index 874b198316..5668d579fc 100644 --- a/firmware/export/config/sansaconnect.h +++ b/firmware/export/config/sansaconnect.h | |||
@@ -81,9 +81,8 @@ | |||
81 | #define LCD_PIXELFORMAT RGB565 /* rgb565 */ | 81 | #define LCD_PIXELFORMAT RGB565 /* rgb565 */ |
82 | 82 | ||
83 | #define HAVE_LCD_ENABLE | 83 | #define HAVE_LCD_ENABLE |
84 | #ifndef BOOTLOADER | ||
85 | #define HAVE_LCD_SLEEP | 84 | #define HAVE_LCD_SLEEP |
86 | #endif | 85 | #define HAVE_LCD_SHUTDOWN |
87 | 86 | ||
88 | #define LCD_SLEEP_TIMEOUT (2*HZ) | 87 | #define LCD_SLEEP_TIMEOUT (2*HZ) |
89 | 88 | ||