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 e5aa7f44d7..ab0e21d098 100644
--- a/apps/settings_menu.c
+++ b/apps/settings_menu.c
@@ -1082,6 +1082,15 @@ static bool set_bl_filter_first_keypress(void)
1082 set_backlight_filter_keypress(global_settings.bl_filter_first_keypress); 1082 set_backlight_filter_keypress(global_settings.bl_filter_first_keypress);
1083 return result; 1083 return result;
1084} 1084}
1085#ifdef HAVE_REMOTE_LCD
1086static bool set_remote_bl_filter_first_keypress(void)
1087{
1088 bool result = set_bool( str(LANG_BACKLIGHT_FILTER_FIRST_KEYPRESS),
1089 &global_settings.remote_bl_filter_first_keypress );
1090 set_remote_backlight_filter_keypress(global_settings.remote_bl_filter_first_keypress);
1091 return result;
1092}
1093#endif
1085#endif 1094#endif
1086 1095
1087static bool ff_rewind_accel(void) 1096static bool ff_rewind_accel(void)
@@ -1694,6 +1703,7 @@ static bool lcd_remote_settings_menu(void)
1694 remote_backlight_timer_plugged }, 1703 remote_backlight_timer_plugged },
1695#endif 1704#endif
1696 { ID2P(LANG_CAPTION_BACKLIGHT), remote_caption_backlight }, 1705 { ID2P(LANG_CAPTION_BACKLIGHT), remote_caption_backlight },
1706 { ID2P(LANG_BACKLIGHT_FILTER_FIRST_KEYPRESS), set_remote_bl_filter_first_keypress },
1697 { ID2P(LANG_CONTRAST), remote_contrast }, 1707 { ID2P(LANG_CONTRAST), remote_contrast },
1698 { ID2P(LANG_INVERT), remote_invert }, 1708 { ID2P(LANG_INVERT), remote_invert },
1699 { ID2P(LANG_FLIP_DISPLAY), remote_flip_display }, 1709 { ID2P(LANG_FLIP_DISPLAY), remote_flip_display },