summaryrefslogtreecommitdiff
path: root/firmware/export/config/ipodnano2g.h
diff options
context:
space:
mode:
authorMichael Sparmann <theseven@rockbox.org>2010-11-14 15:29:05 +0000
committerMichael Sparmann <theseven@rockbox.org>2010-11-14 15:29:05 +0000
commita5ad3f8a7223c7f8dd17ddc57c1a018ba4d62835 (patch)
tree19bd78a12c6f5ab7127b1ce06e874fa61d009ed7 /firmware/export/config/ipodnano2g.h
parentbbebaa406f74970709bf2105413bd696f5466041 (diff)
downloadrockbox-a5ad3f8a7223c7f8dd17ddc57c1a018ba4d62835.tar.gz
rockbox-a5ad3f8a7223c7f8dd17ddc57c1a018ba4d62835.zip
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
Diffstat (limited to 'firmware/export/config/ipodnano2g.h')
-rw-r--r--firmware/export/config/ipodnano2g.h13
1 files changed, 8 insertions, 5 deletions
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 @@
45/* define this to enable JPEG decoding */ 45/* define this to enable JPEG decoding */
46#define HAVE_JPEG 46#define HAVE_JPEG
47 47
48/* define this if the LCD can shut down */
49#define HAVE_LCD_SHUTDOWN
50
51/* define this if you can invert the colours on your LCD */ 48/* define this if you can invert the colours on your LCD */
52//#define HAVE_LCD_INVERT 49//#define HAVE_LCD_INVERT
53 50
@@ -92,12 +89,18 @@
92#define LCD_DEPTH 16 /* pseudo 262.144 colors */ 89#define LCD_DEPTH 16 /* pseudo 262.144 colors */
93#define LCD_PIXELFORMAT RGB565 /* rgb565 */ 90#define LCD_PIXELFORMAT RGB565 /* rgb565 */
94 91
92/* Define this if the LCD can shut down */
93#define HAVE_LCD_SHUTDOWN
94
95/* Define this if your LCD can be enabled/disabled */ 95/* Define this if your LCD can be enabled/disabled */
96//#define HAVE_LCD_ENABLE 96#define HAVE_LCD_ENABLE
97 97
98/* Define this if your LCD can be put to sleep. HAVE_LCD_ENABLE 98/* Define this if your LCD can be put to sleep. HAVE_LCD_ENABLE
99 should be defined as well. */ 99 should be defined as well. */
100//#define HAVE_LCD_SLEEP 100#ifndef BOOTLOADER
101#define HAVE_LCD_SLEEP
102#define HAVE_LCD_SLEEP_SETTING
103#endif
101 104
102#define CONFIG_KEYPAD IPOD_4G_PAD 105#define CONFIG_KEYPAD IPOD_4G_PAD
103 106