1
0
Fork 0
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:
Daniel Ankers 2006-12-10 23:12:59 +00:00
parent fcc00458a9
commit ca10d89d53
2 changed files with 7 additions and 2 deletions

View file

@ -85,8 +85,8 @@
#define CONFIG_CHARGING CHARGING_SIMPLE
/* define this if the hardware can be powered off while charging */
/* TODO: should this be set for the H10? */
#define HAVE_POWEROFF_WHILE_CHARGING
/* Sansa can't be powered off while charging */
/* #define HAVE_POWEROFF_WHILE_CHARGING */
/* The start address index for ROM builds */
#define ROM_START 0x00000000

View file

@ -34,3 +34,8 @@ bool charger_inserted(void)
return true;
return false;
}
void ide_power_enable(bool on)
{
(void)on;
}