From c447eb90cb57da0e147673454e378b6aa23eaa74 Mon Sep 17 00:00:00 2001 From: Torne Wuff Date: Wed, 10 Feb 2010 13:39:48 +0000 Subject: [PATCH] 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 --- firmware/export/config/ipodnano1g.h | 4 ++-- 1 file 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