mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-09 13:15:18 -05:00
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
This commit is contained in:
parent
b68d7f54ae
commit
29310705dd
1 changed files with 5 additions and 5 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue