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.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/apps/settings_menu.c b/apps/settings_menu.c
index 6e8d62191f..70703a23ce 100644
--- a/apps/settings_menu.c
+++ b/apps/settings_menu.c
@@ -1046,6 +1046,15 @@ static bool set_party_mode(void)
1046 return set_bool( str(LANG_PARTY_MODE), &global_settings.party_mode ); 1046 return set_bool( str(LANG_PARTY_MODE), &global_settings.party_mode );
1047} 1047}
1048 1048
1049#ifdef CONFIG_BACKLIGHT
1050static bool set_bl_filter_first_keypress(void)
1051{
1052 bool result = set_bool( str(LANG_BACKLIGHT_FILTER_FIRST_KEYPRESS),
1053 &global_settings.bl_filter_first_keypress );
1054 set_backlight_filter_keypress(global_settings.bl_filter_first_keypress);
1055 return result;
1056}
1057#endif
1049 1058
1050static bool ff_rewind_accel(void) 1059static bool ff_rewind_accel(void)
1051{ 1060{
@@ -1621,6 +1630,7 @@ static bool lcd_settings_menu(void)
1621#ifdef HAVE_BACKLIGHT_BRIGHTNESS 1630#ifdef HAVE_BACKLIGHT_BRIGHTNESS
1622 { ID2P(LANG_BRIGHTNESS), brightness }, 1631 { ID2P(LANG_BRIGHTNESS), brightness },
1623#endif 1632#endif
1633 { ID2P(LANG_BACKLIGHT_FILTER_FIRST_KEYPRESS), set_bl_filter_first_keypress },
1624#endif /* CONFIG_BACKLIGHT */ 1634#endif /* CONFIG_BACKLIGHT */
1625 { ID2P(LANG_CONTRAST), contrast }, 1635 { ID2P(LANG_CONTRAST), contrast },
1626#ifdef HAVE_LCD_BITMAP 1636#ifdef HAVE_LCD_BITMAP