1
0
Fork 0
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:
Uwe Freese 2002-12-14 15:45:39 +00:00
parent d564b60cd9
commit db5bcc6df7

View file

@ -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 },