forked from len0rd/rockbox
Sansa Clip: enable battery charging.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20006 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
459b4f632b
commit
01d4b4c997
5 changed files with 51 additions and 20 deletions
|
|
@ -106,7 +106,8 @@
|
|||
#include "debug-target.h"
|
||||
#endif
|
||||
|
||||
#if defined(SANSA_E200) || defined(SANSA_C200) || defined(PHILIPS_SA9200)
|
||||
#if defined(SANSA_E200) || defined(SANSA_C200) || defined(PHILIPS_SA9200) \
|
||||
|| defined(SANSA_CLIP)
|
||||
#include "ascodec.h"
|
||||
#include "as3514.h"
|
||||
#endif
|
||||
|
|
@ -1758,7 +1759,7 @@ static bool view_battery(void)
|
|||
}
|
||||
|
||||
lcd_puts(0, line++, buf);
|
||||
#elif defined(SANSA_E200) || defined(SANSA_C200)
|
||||
#elif defined(SANSA_E200) || defined(SANSA_C200) || defined(SANSA_CLIP)
|
||||
const int first = CHARGE_STATE_DISABLED;
|
||||
static const char * const chrgstate_strings[] =
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue