1
0
Fork 0
forked from len0rd/rockbox

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
This commit is contained in:
Jens Arnold 2007-07-27 12:05:54 +00:00
parent b701322fea
commit 021c0868dd
7 changed files with 86 additions and 18 deletions

View file

@ -38,7 +38,7 @@
/* LCD contrast */
#define MIN_CONTRAST_SETTING 5
#define MAX_CONTRAST_SETTING 63
#define DEFAULT_CONTRAST_SETTING 40 /* Match boot contrast */
#define DEFAULT_CONTRAST_SETTING 28 /* Match boot contrast */
#define CONFIG_KEYPAD IPOD_1G2G_PAD
@ -63,6 +63,9 @@
/* Define this for LCD backlight available */
#define HAVE_BACKLIGHT
/* Define this if the backlight unverts LCD appearance */
#define HAVE_BACKLIGHT_INVERSION
#define BATTERY_CAPACITY_DEFAULT 630 /* default battery capacity */
#ifndef SIMULATOR