forked from len0rd/rockbox
Improved charger detection for Sansa
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11713 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
fcc00458a9
commit
ca10d89d53
2 changed files with 7 additions and 2 deletions
|
|
@ -85,8 +85,8 @@
|
||||||
#define CONFIG_CHARGING CHARGING_SIMPLE
|
#define CONFIG_CHARGING CHARGING_SIMPLE
|
||||||
|
|
||||||
/* define this if the hardware can be powered off while charging */
|
/* define this if the hardware can be powered off while charging */
|
||||||
/* TODO: should this be set for the H10? */
|
/* Sansa can't be powered off while charging */
|
||||||
#define HAVE_POWEROFF_WHILE_CHARGING
|
/* #define HAVE_POWEROFF_WHILE_CHARGING */
|
||||||
|
|
||||||
/* The start address index for ROM builds */
|
/* The start address index for ROM builds */
|
||||||
#define ROM_START 0x00000000
|
#define ROM_START 0x00000000
|
||||||
|
|
|
||||||
|
|
@ -34,3 +34,8 @@ bool charger_inserted(void)
|
||||||
return true;
|
return true;
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void ide_power_enable(bool on)
|
||||||
|
{
|
||||||
|
(void)on;
|
||||||
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue