From a5ad3f8a7223c7f8dd17ddc57c1a018ba4d62835 Mon Sep 17 00:00:00 2001 From: Michael Sparmann Date: Sun, 14 Nov 2010 15:29:05 +0000 Subject: iPod Nano 2G: Implement LCD sleep (FS#11604 by Franz-Josef Haider), adds up to 5 hours of battery life git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28591 a1c6a512-1295-4272-9138-f99709370657 --- firmware/export/config/ipodnano2g.h | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'firmware/export') diff --git a/firmware/export/config/ipodnano2g.h b/firmware/export/config/ipodnano2g.h index 6797187023..2cc3cecc6c 100644 --- a/firmware/export/config/ipodnano2g.h +++ b/firmware/export/config/ipodnano2g.h @@ -45,9 +45,6 @@ /* define this to enable JPEG decoding */ #define HAVE_JPEG -/* define this if the LCD can shut down */ -#define HAVE_LCD_SHUTDOWN - /* define this if you can invert the colours on your LCD */ //#define HAVE_LCD_INVERT @@ -92,12 +89,18 @@ #define LCD_DEPTH 16 /* pseudo 262.144 colors */ #define LCD_PIXELFORMAT RGB565 /* rgb565 */ +/* Define this if the LCD can shut down */ +#define HAVE_LCD_SHUTDOWN + /* Define this if your LCD can be enabled/disabled */ -//#define HAVE_LCD_ENABLE +#define HAVE_LCD_ENABLE /* Define this if your LCD can be put to sleep. HAVE_LCD_ENABLE should be defined as well. */ -//#define HAVE_LCD_SLEEP +#ifndef BOOTLOADER +#define HAVE_LCD_SLEEP +#define HAVE_LCD_SLEEP_SETTING +#endif #define CONFIG_KEYPAD IPOD_4G_PAD -- cgit v1.2.3