summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Chapman <dave@dchapman.com>2009-10-11 13:23:43 +0000
committerDave Chapman <dave@dchapman.com>2009-10-11 13:23:43 +0000
commit29310705dd81c095e651c1b1da6305d898dcdc06 (patch)
tree0ae86a75cbaf68eadf348f0ce54edd4172973b99
parentb68d7f54aed64c06713759a8ca48c6dba6a59d92 (diff)
downloadrockbox-29310705dd81c095e651c1b1da6305d898dcdc06.tar.gz
rockbox-29310705dd81c095e651c1b1da6305d898dcdc06.zip
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
-rw-r--r--firmware/export/config-ipodnano2g.h10
1 files changed, 5 insertions, 5 deletions
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