forked from len0rd/rockbox
sim build error fixed
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3004 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
f34de9d592
commit
bf93c088b4
1 changed files with 2 additions and 0 deletions
|
@ -443,7 +443,9 @@ static bool battery_capacity(void) {
|
|||
retval = set_option( str(LANG_BATTERY_CAPACITY),
|
||||
&global_settings.battery_capacity, names, 8, NULL);
|
||||
|
||||
#ifndef SIMULATOR
|
||||
set_battery_capacity(global_settings.battery_capacity);
|
||||
#endif /* SIMULATOR */
|
||||
|
||||
return retval;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue