diff options
author | Jens Arnold <amiconn@rockbox.org> | 2007-07-27 12:05:54 +0000 |
---|---|---|
committer | Jens Arnold <amiconn@rockbox.org> | 2007-07-27 12:05:54 +0000 |
commit | 021c0868dd6a9ac01f01db36a7b08cf7ad6737df (patch) | |
tree | 635d37509ce564e05b2065511912e7a436163510 /firmware/export/config-ipod1g2g.h | |
parent | b701322fea42c809092f50e252f45ddfc38293c3 (diff) | |
download | rockbox-021c0868dd6a9ac01f01db36a7b08cf7ad6737df.tar.gz rockbox-021c0868dd6a9ac01f01db36a7b08cf7ad6737df.zip |
iPod 2nd gen: * Fake battery voltage of 4.00V so rockbox doesn't shutdown (ADC is not yet implemented). * Fix button hold polarity for main rockbox. * Implement backlight inversion (the 1st/2nd gen backlight works in a way that makes the LCD look inverted when active). * Fix default contrast and clean up target tree.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14022 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export/config-ipod1g2g.h')
-rw-r--r-- | firmware/export/config-ipod1g2g.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/firmware/export/config-ipod1g2g.h b/firmware/export/config-ipod1g2g.h index 40b158407d..bfff2b22ef 100644 --- a/firmware/export/config-ipod1g2g.h +++ b/firmware/export/config-ipod1g2g.h | |||
@@ -38,7 +38,7 @@ | |||
38 | /* LCD contrast */ | 38 | /* LCD contrast */ |
39 | #define MIN_CONTRAST_SETTING 5 | 39 | #define MIN_CONTRAST_SETTING 5 |
40 | #define MAX_CONTRAST_SETTING 63 | 40 | #define MAX_CONTRAST_SETTING 63 |
41 | #define DEFAULT_CONTRAST_SETTING 40 /* Match boot contrast */ | 41 | #define DEFAULT_CONTRAST_SETTING 28 /* Match boot contrast */ |
42 | 42 | ||
43 | #define CONFIG_KEYPAD IPOD_1G2G_PAD | 43 | #define CONFIG_KEYPAD IPOD_1G2G_PAD |
44 | 44 | ||
@@ -63,6 +63,9 @@ | |||
63 | /* Define this for LCD backlight available */ | 63 | /* Define this for LCD backlight available */ |
64 | #define HAVE_BACKLIGHT | 64 | #define HAVE_BACKLIGHT |
65 | 65 | ||
66 | /* Define this if the backlight unverts LCD appearance */ | ||
67 | #define HAVE_BACKLIGHT_INVERSION | ||
68 | |||
66 | #define BATTERY_CAPACITY_DEFAULT 630 /* default battery capacity */ | 69 | #define BATTERY_CAPACITY_DEFAULT 630 /* default battery capacity */ |
67 | 70 | ||
68 | #ifndef SIMULATOR | 71 | #ifndef SIMULATOR |