forked from len0rd/rockbox
Add ADC to I/O ports debug menu on H10. Fix battery level reading empty when starting up on H10. Calibrated battery for H10 20GB.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11036 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
193611367a
commit
5a79b4e015
6 changed files with 37 additions and 22 deletions
|
@ -417,7 +417,7 @@ void init(void)
|
|||
|
||||
settings_calc_config_sector();
|
||||
|
||||
#if defined(SETTINGS_RESET) || (CONFIG_KEYPAD == IPOD_4G_PAD)
|
||||
#if defined(SETTINGS_RESET) || (CONFIG_KEYPAD == IPOD_4G_PAD) || (CONFIG_KEYPAD == IRIVER_H10_PAD)
|
||||
#ifdef SETTINGS_RESET
|
||||
/* Reset settings if holding the rec button. */
|
||||
if ((button_status() & SETTINGS_RESET) == SETTINGS_RESET)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue