summaryrefslogtreecommitdiff
path: root/apps/settings_menu.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/settings_menu.c')
-rw-r--r--apps/settings_menu.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/settings_menu.c b/apps/settings_menu.c
index 5d045be048..63f1415af8 100644
--- a/apps/settings_menu.c
+++ b/apps/settings_menu.c
@@ -136,14 +136,14 @@ static bool flip_display(void)
136/** 136/**
137 * Menu to configure the battery display on status bar 137 * Menu to configure the battery display on status bar
138 */ 138 */
139static bool battery_type(void) 139static bool battery_display(void)
140{ 140{
141 static const struct opt_items names[] = { 141 static const struct opt_items names[] = {
142 { STR(LANG_DISPLAY_GRAPHIC) }, 142 { STR(LANG_DISPLAY_GRAPHIC) },
143 { STR(LANG_DISPLAY_NUMERIC) } 143 { STR(LANG_DISPLAY_NUMERIC) }
144 }; 144 };
145 return set_option( str(LANG_BATTERY_DISPLAY), 145 return set_option( str(LANG_BATTERY_DISPLAY),
146 &global_settings.battery_type, INT, names, 2, NULL); 146 &global_settings.battery_display, INT, names, 2, NULL);
147} 147}
148 148
149/** 149/**
@@ -1195,7 +1195,7 @@ static bool bars_settings_menu(void)
1195 { ID2P(LANG_BUTTON_BAR), button_bar }, 1195 { ID2P(LANG_BUTTON_BAR), button_bar },
1196#endif 1196#endif
1197 { ID2P(LANG_VOLUME_DISPLAY), volume_type }, 1197 { ID2P(LANG_VOLUME_DISPLAY), volume_type },
1198 { ID2P(LANG_BATTERY_DISPLAY), battery_type }, 1198 { ID2P(LANG_BATTERY_DISPLAY), battery_display },
1199 }; 1199 };
1200 1200
1201 m=menu_init( items, sizeof(items) / sizeof(*items), NULL, 1201 m=menu_init( items, sizeof(items) / sizeof(*items), NULL,