From 29310705dd81c095e651c1b1da6305d898dcdc06 Mon Sep 17 00:00:00 2001 From: Dave Chapman Date: Sun, 11 Oct 2009 13:23:43 +0000 Subject: Correct the charging/power #defines for the Nano2G. This now enables you to hold MENU when inserting the USB cable to stop Rockbox entering disk mode. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23108 a1c6a512-1295-4272-9138-f99709370657 --- firmware/export/config-ipodnano2g.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'firmware') diff --git a/firmware/export/config-ipodnano2g.h b/firmware/export/config-ipodnano2g.h index 766fd60a39..5e92ea889a 100644 --- a/firmware/export/config-ipodnano2g.h +++ b/firmware/export/config-ipodnano2g.h @@ -121,8 +121,11 @@ #define BATTERY_CAPACITY_INC 50 /* capacity increment */ #define BATTERY_TYPES_COUNT 1 /* only one type */ -/* Hardware controlled charging? */ -#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 #ifndef SIMULATOR @@ -135,9 +138,6 @@ /* I2C interface */ #define CONFIG_I2C I2C_S5L8700 -/* define this if the hardware can be powered off while charging */ -#define HAVE_POWEROFF_WHILE_CHARGING - /* The size of the flash ROM */ #define FLASH_SIZE 0x400000 -- cgit v1.2.3