forked from len0rd/rockbox
trickle charge switchable on and off
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2988 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
d564b60cd9
commit
db5bcc6df7
1 changed files with 7 additions and 0 deletions
|
@ -437,6 +437,12 @@ static bool deep_discharge(void)
|
|||
CHARGE_RESTART_LO : CHARGE_RESTART_HI;
|
||||
return result;
|
||||
}
|
||||
static bool trickle_charge(void)
|
||||
{
|
||||
bool result;
|
||||
result = set_bool( str(LANG_TRICKLE_CHARGE), &global_settings.trickle_charge );
|
||||
return result;
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_LCD_BITMAP
|
||||
|
@ -715,6 +721,7 @@ static bool system_settings_menu(void)
|
|||
#endif
|
||||
#ifdef HAVE_CHARGE_CTRL
|
||||
{ str(LANG_DISCHARGE), deep_discharge },
|
||||
{ str(LANG_TRICKLE_CHARGE), trickle_charge },
|
||||
#endif
|
||||
#ifdef HAVE_LCD_BITMAP
|
||||
{ str(LANG_TIME), timedate_set },
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue