summaryrefslogtreecommitdiff
path: root/firmware/export/config-h10.h
diff options
context:
space:
mode:
authorBarry Wardell <rockbox@barrywardell.net>2006-09-20 23:21:59 +0000
committerBarry Wardell <rockbox@barrywardell.net>2006-09-20 23:21:59 +0000
commite63e62b2a1d849b9a965e989b3ce18576c0ac521 (patch)
tree4a992431717e4ba4218f1da6feb0e9be01165215 /firmware/export/config-h10.h
parent9acc450e716b0c2accfa3922aba91cb707d4ae14 (diff)
downloadrockbox-e63e62b2a1d849b9a965e989b3ce18576c0ac521.tar.gz
rockbox-e63e62b2a1d849b9a965e989b3ce18576c0ac521.zip
Detect charger connected on H10. No need to sleep(HZ) when powering off.
More sensible USB support for H10: plugging in puts it into USB charging mode and leaves Rockbox usable, holding 'O' while pluggin in the USB cable will reboot the H10 (continuing to hold 'O' starts it up in UMS mode), holding any other button brings up the USB screen as previously. Implement system_reboot() for all PP5020 devices. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11015 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export/config-h10.h')
-rw-r--r--firmware/export/config-h10.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/firmware/export/config-h10.h b/firmware/export/config-h10.h
index c024fd464c..df42068fb8 100644
--- a/firmware/export/config-h10.h
+++ b/firmware/export/config-h10.h
@@ -85,12 +85,11 @@
85#define BATTERY_TYPES_COUNT 1 /* only one type */ 85#define BATTERY_TYPES_COUNT 1 /* only one type */
86#define BATTERY_SCALE_FACTOR 5865 86#define BATTERY_SCALE_FACTOR 5865
87 87
88/* Hardware controlled charging? FIXME */ 88/* Hardware controlled charging */
89//#define CONFIG_CHARGING CHARGING_SIMPLE 89#define CONFIG_CHARGING CHARGING_SIMPLE
90 90
91/* define this if the hardware can be powered off while charging */ 91/* define this if the hardware can be powered off while charging */
92/* TODO: should this be set for the H10? */ 92#define HAVE_POWEROFF_WHILE_CHARGING
93//#define HAVE_POWEROFF_WHILE_CHARGING
94 93
95/* The start address index for ROM builds */ 94/* The start address index for ROM builds */
96#define ROM_START 0x00000000 95#define ROM_START 0x00000000
@@ -128,7 +127,7 @@
128/* #define USB_IPODSTYLE */ 127/* #define USB_IPODSTYLE */
129 128
130/* define this if the unit can be powered or charged via USB */ 129/* define this if the unit can be powered or charged via USB */
131/*#define HAVE_USB_POWER*/ 130#define HAVE_USB_POWER
132 131
133/* Virtual LED (icon) */ 132/* Virtual LED (icon) */
134#define CONFIG_LED LED_VIRTUAL 133#define CONFIG_LED LED_VIRTUAL