From 2acf8db3e14e8c81f27cb0cea5b366678693c7b3 Mon Sep 17 00:00:00 2001 From: Tomasz Moń Date: Mon, 5 Jul 2021 15:15:30 +0200 Subject: 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 --- firmware/export/config/sansaconnect.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'firmware/export/config/sansaconnect.h') 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 @@ #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) -- cgit v1.2.3