summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTorne Wuff <torne@wolfpuppy.org.uk>2010-02-10 13:39:48 +0000
committerTorne Wuff <torne@wolfpuppy.org.uk>2010-02-10 13:39:48 +0000
commitc447eb90cb57da0e147673454e378b6aa23eaa74 (patch)
treec398d400ccaa6a6cc5be99c93cccf35a1dc71420
parent39c308cb983335d5dff492f5f22b7ccaa5c6490c (diff)
downloadrockbox-c447eb90cb57da0e147673454e378b6aa23eaa74.tar.gz
rockbox-c447eb90cb57da0e147673454e378b6aa23eaa74.tar.bz2
rockbox-c447eb90cb57da0e147673454e378b6aa23eaa74.zip
Enable charging monitoring for the Nano 1G.
The code for this was already present as it seems to behave the same as the Video, but CONFIG_CHARGING had not been set, probably for lack of testing. It has now been tested. This allows the WPS/status bar to correctly display the charging status, and also fixes various bugs: FS#6891 iPod Nano Charger Support FS#6940 Nano Car Adapter Mode enabled FS#10591 iPod nano reboots on idle poweroff when plugged in git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24581 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--firmware/export/config/ipodnano1g.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/export/config/ipodnano1g.h b/firmware/export/config/ipodnano1g.h
index 562c940df4..82cdb37b24 100644
--- a/firmware/export/config/ipodnano1g.h
+++ b/firmware/export/config/ipodnano1g.h
@@ -122,8 +122,8 @@
#define BATTERY_CAPACITY_INC 20 /* capacity increment */
#define BATTERY_TYPES_COUNT 1 /* only one type */
-/* Hardware controlled charging? FIXME */
-//#define CONFIG_CHARGING CHARGING_SIMPLE
+/* Hardware controlled charging with monitoring */
+#define CONFIG_CHARGING CHARGING_MONITOR
/* define this if the unit can be powered or charged via USB */
#define HAVE_USB_POWER