1
0
Fork 0
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:
Uwe Freese 2002-12-15 19:09:34 +00:00
parent f34de9d592
commit bf93c088b4

View file

@ -443,7 +443,9 @@ static bool battery_capacity(void) {
retval = set_option( str(LANG_BATTERY_CAPACITY), retval = set_option( str(LANG_BATTERY_CAPACITY),
&global_settings.battery_capacity, names, 8, NULL); &global_settings.battery_capacity, names, 8, NULL);
#ifndef SIMULATOR
set_battery_capacity(global_settings.battery_capacity); set_battery_capacity(global_settings.battery_capacity);
#endif /* SIMULATOR */
return retval; return retval;
} }