forked from len0rd/rockbox
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
This commit is contained in:
parent
39c308cb98
commit
c447eb90cb
1 changed files with 2 additions and 2 deletions
|
|
@ -122,8 +122,8 @@
|
||||||
#define BATTERY_CAPACITY_INC 20 /* capacity increment */
|
#define BATTERY_CAPACITY_INC 20 /* capacity increment */
|
||||||
#define BATTERY_TYPES_COUNT 1 /* only one type */
|
#define BATTERY_TYPES_COUNT 1 /* only one type */
|
||||||
|
|
||||||
/* Hardware controlled charging? FIXME */
|
/* Hardware controlled charging with monitoring */
|
||||||
//#define CONFIG_CHARGING CHARGING_SIMPLE
|
#define CONFIG_CHARGING CHARGING_MONITOR
|
||||||
|
|
||||||
/* define this if the unit can be powered or charged via USB */
|
/* define this if the unit can be powered or charged via USB */
|
||||||
#define HAVE_USB_POWER
|
#define HAVE_USB_POWER
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue