diff options
author | Dave Chapman <dave@dchapman.com> | 2009-10-11 13:23:43 +0000 |
---|---|---|
committer | Dave Chapman <dave@dchapman.com> | 2009-10-11 13:23:43 +0000 |
commit | 29310705dd81c095e651c1b1da6305d898dcdc06 (patch) | |
tree | 0ae86a75cbaf68eadf348f0ce54edd4172973b99 | |
parent | b68d7f54aed64c06713759a8ca48c6dba6a59d92 (diff) | |
download | rockbox-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.h | 10 |
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 @@ | |||
121 | #define BATTERY_CAPACITY_INC 50 /* capacity increment */ | 121 | #define BATTERY_CAPACITY_INC 50 /* capacity increment */ |
122 | #define BATTERY_TYPES_COUNT 1 /* only one type */ | 122 | #define BATTERY_TYPES_COUNT 1 /* only one type */ |
123 | 123 | ||
124 | /* Hardware controlled charging? */ | 124 | /* Hardware controlled charging with monitoring */ |
125 | #define CONFIG_CHARGING CHARGING_SIMPLE | 125 | #define CONFIG_CHARGING CHARGING_MONITOR |
126 | |||
127 | /* define this if the unit can be powered or charged via USB */ | ||
128 | #define HAVE_USB_POWER | ||
126 | 129 | ||
127 | #ifndef SIMULATOR | 130 | #ifndef SIMULATOR |
128 | 131 | ||
@@ -135,9 +138,6 @@ | |||
135 | /* I2C interface */ | 138 | /* I2C interface */ |
136 | #define CONFIG_I2C I2C_S5L8700 | 139 | #define CONFIG_I2C I2C_S5L8700 |
137 | 140 | ||
138 | /* define this if the hardware can be powered off while charging */ | ||
139 | #define HAVE_POWEROFF_WHILE_CHARGING | ||
140 | |||
141 | /* The size of the flash ROM */ | 141 | /* The size of the flash ROM */ |
142 | #define FLASH_SIZE 0x400000 | 142 | #define FLASH_SIZE 0x400000 |
143 | 143 | ||