summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-rw-r--r--apps/features.txt4
-rw-r--r--apps/menus/settings_menu.c4
-rw-r--r--apps/screens.c2
-rw-r--r--apps/settings_list.c2
4 files changed, 4 insertions, 8 deletions
diff --git a/apps/features.txt b/apps/features.txt
index a80408de8b..f5ebe9834c 100644
--- a/apps/features.txt
+++ b/apps/features.txt
@@ -146,9 +146,9 @@ tagcache
146tc_ramcache 146tc_ramcache
147#endif 147#endif
148 148
149#if CONFIG_CHARGING || defined(SIMULATOR) 149#if CONFIG_CHARGING
150charging 150charging
151#if defined(HAVE_USB_POWER) || defined(SIMULATOR) 151#if defined(HAVE_USB_POWER)
152usb_charging 152usb_charging
153#endif 153#endif
154#endif 154#endif
diff --git a/apps/menus/settings_menu.c b/apps/menus/settings_menu.c
index b1ba6680be..283acc4cb7 100644
--- a/apps/menus/settings_menu.c
+++ b/apps/menus/settings_menu.c
@@ -122,7 +122,6 @@ MAKE_MENU(file_menu, ID2P(LANG_FILE), 0, Icon_file_view_menu,
122/* SYSTEM MENU */ 122/* SYSTEM MENU */
123 123
124/* Battery */ 124/* Battery */
125#ifndef SIMULATOR
126#if BATTERY_CAPACITY_INC > 0 125#if BATTERY_CAPACITY_INC > 0
127MENUITEM_SETTING(battery_capacity, &global_settings.battery_capacity, NULL); 126MENUITEM_SETTING(battery_capacity, &global_settings.battery_capacity, NULL);
128#endif 127#endif
@@ -158,7 +157,6 @@ MAKE_MENU(battery_menu, ID2P(LANG_BATTERY_MENU), 0, Icon_NOICON,
158#endif 157#endif
159#endif 158#endif
160 ); 159 );
161#endif /* SIMULATOR */
162/* Disk */ 160/* Disk */
163#ifndef HAVE_FLASH_STORAGE 161#ifndef HAVE_FLASH_STORAGE
164MENUITEM_SETTING(disk_spindown, &global_settings.disk_spindown, NULL); 162MENUITEM_SETTING(disk_spindown, &global_settings.disk_spindown, NULL);
@@ -340,7 +338,7 @@ MENUITEM_SETTING(buttonlight_brightness, &global_settings.buttonlight_brightness
340MAKE_MENU(system_menu, ID2P(LANG_SYSTEM), 338MAKE_MENU(system_menu, ID2P(LANG_SYSTEM),
341 0, Icon_System_menu, 339 0, Icon_System_menu,
342 &start_screen, 340 &start_screen,
343#ifndef SIMULATOR 341#if (BATTERY_CAPACITY_INC > 0) || (BATTERY_TYPES_COUNT > 1)
344 &battery_menu, 342 &battery_menu,
345#endif 343#endif
346#if defined(HAVE_DIRCACHE) || !defined(HAVE_FLASH_STORAGE) 344#if defined(HAVE_DIRCACHE) || !defined(HAVE_FLASH_STORAGE)
diff --git a/apps/screens.c b/apps/screens.c
index 5dbca7a59c..700164f10e 100644
--- a/apps/screens.c
+++ b/apps/screens.c
@@ -779,7 +779,7 @@ bool quick_screen_f3(int button_enter)
779#endif /* BUTTON_F3 */ 779#endif /* BUTTON_F3 */
780#endif /* CONFIG_KEYPAD in (RECORDER_PAD |IRIVER_H100_PAD | IRIVER_H300_PAD) */ 780#endif /* CONFIG_KEYPAD in (RECORDER_PAD |IRIVER_H100_PAD | IRIVER_H300_PAD) */
781 781
782#if CONFIG_CHARGING || defined(SIMULATOR) 782#if CONFIG_CHARGING
783void charging_splash(void) 783void charging_splash(void)
784{ 784{
785 gui_syncsplash(2*HZ, (unsigned char *)str(LANG_BATTERY_CHARGE)); 785 gui_syncsplash(2*HZ, (unsigned char *)str(LANG_BATTERY_CHARGE));
diff --git a/apps/settings_list.c b/apps/settings_list.c
index 70d521b4a9..1b8b33363d 100644
--- a/apps/settings_list.c
+++ b/apps/settings_list.c
@@ -499,14 +499,12 @@ const struct settings_list settings[] = {
499 200, 499 200,
500#endif 500#endif
501 "max files in dir", UNIT_INT,50,10000,50,NULL,NULL,NULL), 501 "max files in dir", UNIT_INT,50,10000,50,NULL,NULL,NULL),
502#ifndef SIMULATOR
503#if BATTERY_CAPACITY_INC > 0 502#if BATTERY_CAPACITY_INC > 0
504 INT_SETTING(0, battery_capacity, LANG_BATTERY_CAPACITY, BATTERY_CAPACITY_DEFAULT, 503 INT_SETTING(0, battery_capacity, LANG_BATTERY_CAPACITY, BATTERY_CAPACITY_DEFAULT,
505 "battery capacity", UNIT_MAH, 504 "battery capacity", UNIT_MAH,
506 BATTERY_CAPACITY_MIN, BATTERY_CAPACITY_MAX, BATTERY_CAPACITY_INC, 505 BATTERY_CAPACITY_MIN, BATTERY_CAPACITY_MAX, BATTERY_CAPACITY_INC,
507 NULL, NULL, NULL), 506 NULL, NULL, NULL),
508#endif 507#endif
509#endif
510#if CONFIG_CHARGING 508#if CONFIG_CHARGING
511 OFFON_SETTING(NVRAM(1), car_adapter_mode, 509 OFFON_SETTING(NVRAM(1), car_adapter_mode,
512 LANG_CAR_ADAPTER_MODE, false, "car adapter mode", NULL), 510 LANG_CAR_ADAPTER_MODE, false, "car adapter mode", NULL),