From e171294c1d50dc4e4ba30339940a854c2b82d1ea Mon Sep 17 00:00:00 2001 From: Michael Sparmann Date: Sun, 11 Oct 2009 12:11:11 +0000 Subject: Correct some iPod Nano 2G defines git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23104 a1c6a512-1295-4272-9138-f99709370657 --- firmware/export/config-ipodnano2g.h | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) (limited to 'firmware/export') diff --git a/firmware/export/config-ipodnano2g.h b/firmware/export/config-ipodnano2g.h index 1b72292e61..766fd60a39 100644 --- a/firmware/export/config-ipodnano2g.h +++ b/firmware/export/config-ipodnano2g.h @@ -104,7 +104,7 @@ /* Define this for LCD backlight available */ #define HAVE_BACKLIGHT -#define HAVE_BACKLIGHT_BRIGHTNESS +/* #define HAVE_BACKLIGHT_BRIGHTNESS - not yet */ /* Define this if you have a software controlled poweroff */ #define HAVE_SW_POWEROFF @@ -115,14 +115,13 @@ /* The number of bytes reserved for loadable plugins */ #define PLUGIN_BUFFER_SIZE 0x80000 - -#define BATTERY_CAPACITY_DEFAULT 700 /* default battery capacity */ -#define BATTERY_CAPACITY_MIN 500 /* min. capacity selectable */ -#define BATTERY_CAPACITY_MAX 2250 /* max. capacity selectable */ +#define BATTERY_CAPACITY_DEFAULT 400 /* default battery capacity */ +#define BATTERY_CAPACITY_MIN 400 /* min. capacity selectable */ +#define BATTERY_CAPACITY_MAX 400 /* max. capacity selectable */ #define BATTERY_CAPACITY_INC 50 /* capacity increment */ #define BATTERY_TYPES_COUNT 1 /* only one type */ -/* Hardware controlled charging? FIXME */ +/* Hardware controlled charging? */ #define CONFIG_CHARGING CHARGING_SIMPLE #ifndef SIMULATOR @@ -161,7 +160,7 @@ #define USB_HANDLED_BY_OF /* Define this if you have adjustable CPU frequency */ -#define HAVE_ADJUSTABLE_CPU_FREQ +/* #define HAVE_ADJUSTABLE_CPU_FREQ - not yet */ #define BOOTFILE_EXT "ipod" #define BOOTFILE "rockbox." BOOTFILE_EXT @@ -170,9 +169,11 @@ /* Alternative bootfile extension - this is for encrypted images */ #define BOOTFILE_EXT2 "ipodx" +#if 0 #define BOOTLOADER_ENTRYPOINT 0x001F0000 #define FLASH_ENTRYPOINT 0x00001000 #define FLASH_MAGIC 0xfbfbfbf1 +#endif #endif /* SIMULATOR */ @@ -181,6 +182,7 @@ /** Port-specific settings **/ +#if 0 /* Main LCD contrast range and defaults */ #define MIN_CONTRAST_SETTING 1 #define MAX_CONTRAST_SETTING 30 @@ -188,6 +190,6 @@ /* Main LCD backlight brightness range and defaults */ #define MIN_BRIGHTNESS_SETTING 0 -#define MAX_BRIGHTNESS_SETTING 15 -#define DEFAULT_BRIGHTNESS_SETTING 10 - +#define MAX_BRIGHTNESS_SETTING 31 +#define DEFAULT_BRIGHTNESS_SETTING 20 +#endif -- cgit v1.2.3