diff options
Diffstat (limited to 'apps/settings_list.c')
-rw-r--r-- | apps/settings_list.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/apps/settings_list.c b/apps/settings_list.c index 5914577600..9f24c63a84 100644 --- a/apps/settings_list.c +++ b/apps/settings_list.c | |||
@@ -87,7 +87,7 @@ static const char trig_durations_conf [] = | |||
87 | 87 | ||
88 | #endif /* HAVE_RECORDING */ | 88 | #endif /* HAVE_RECORDING */ |
89 | 89 | ||
90 | #if defined(CONFIG_BACKLIGHT) | 90 | #if CONFIG_BACKLIGHT |
91 | static const char backlight_times_conf [] = | 91 | static const char backlight_times_conf [] = |
92 | "off,on,1,2,3,4,5,6,7,8,9,10,15,20,25,30,45,60,90"; | 92 | "off,on,1,2,3,4,5,6,7,8,9,10,15,20,25,30,45,60,90"; |
93 | static const int backlight_times[] = | 93 | static const int backlight_times[] = |
@@ -410,7 +410,7 @@ const struct settings_list settings[] = { | |||
410 | { lcd_set_contrast, UNIT_INT, MIN_CONTRAST_SETTING, | 410 | { lcd_set_contrast, UNIT_INT, MIN_CONTRAST_SETTING, |
411 | MAX_CONTRAST_SETTING, 1, NULL, NULL}}}}, | 411 | MAX_CONTRAST_SETTING, 1, NULL, NULL}}}}, |
412 | #endif | 412 | #endif |
413 | #ifdef CONFIG_BACKLIGHT | 413 | #if CONFIG_BACKLIGHT |
414 | INT_SETTING_W_CFGVALS(0, backlight_timeout, LANG_BACKLIGHT, 6, | 414 | INT_SETTING_W_CFGVALS(0, backlight_timeout, LANG_BACKLIGHT, 6, |
415 | "backlight timeout", backlight_times_conf, UNIT_SEC, | 415 | "backlight timeout", backlight_times_conf, UNIT_SEC, |
416 | 0, 18, 1, backlight_formatter, backlight_getlang, | 416 | 0, 18, 1, backlight_formatter, backlight_getlang, |
@@ -516,7 +516,7 @@ const struct settings_list settings[] = { | |||
516 | #endif | 516 | #endif |
517 | #endif | 517 | #endif |
518 | 518 | ||
519 | #ifdef CONFIG_BACKLIGHT | 519 | #if CONFIG_BACKLIGHT |
520 | OFFON_SETTING(0,bl_filter_first_keypress, | 520 | OFFON_SETTING(0,bl_filter_first_keypress, |
521 | LANG_BACKLIGHT_FILTER_FIRST_KEYPRESS, false, | 521 | LANG_BACKLIGHT_FILTER_FIRST_KEYPRESS, false, |
522 | "backlight filters first keypress", NULL), | 522 | "backlight filters first keypress", NULL), |
@@ -529,7 +529,7 @@ const struct settings_list settings[] = { | |||
529 | 529 | ||
530 | /** End of old RTC config block **/ | 530 | /** End of old RTC config block **/ |
531 | 531 | ||
532 | #ifdef CONFIG_BACKLIGHT | 532 | #if CONFIG_BACKLIGHT |
533 | OFFON_SETTING(0,caption_backlight, LANG_CAPTION_BACKLIGHT, | 533 | OFFON_SETTING(0,caption_backlight, LANG_CAPTION_BACKLIGHT, |
534 | false,"caption backlight",NULL), | 534 | false,"caption backlight",NULL), |
535 | #ifdef HAVE_REMOTE_LCD | 535 | #ifdef HAVE_REMOTE_LCD |
@@ -748,7 +748,7 @@ const struct settings_list settings[] = { | |||
748 | INT(0),"prerecording time",NULL,UNUSED}, | 748 | INT(0),"prerecording time",NULL,UNUSED}, |
749 | {F_T_INT,&global_settings.rec_directory,LANG_RECORD_DIRECTORY, | 749 | {F_T_INT,&global_settings.rec_directory,LANG_RECORD_DIRECTORY, |
750 | INT(0),"rec directory",REC_BASE_DIR ",current",UNUSED}, | 750 | INT(0),"rec directory",REC_BASE_DIR ",current",UNUSED}, |
751 | #ifdef CONFIG_BACKLIGHT | 751 | #if CONFIG_BACKLIGHT |
752 | {F_T_INT,&global_settings.cliplight,LANG_CLIP_LIGHT,INT(0), | 752 | {F_T_INT,&global_settings.cliplight,LANG_CLIP_LIGHT,INT(0), |
753 | "cliplight","off,main,both,remote",UNUSED}, | 753 | "cliplight","off,main,both,remote",UNUSED}, |
754 | #endif | 754 | #endif |
@@ -926,7 +926,7 @@ const struct settings_list settings[] = { | |||
926 | LANG_WARN_ERASEDYNPLAYLIST_MENU,false, | 926 | LANG_WARN_ERASEDYNPLAYLIST_MENU,false, |
927 | "warn when erasing dynamic playlist",NULL), | 927 | "warn when erasing dynamic playlist",NULL), |
928 | 928 | ||
929 | #ifdef CONFIG_BACKLIGHT | 929 | #if CONFIG_BACKLIGHT |
930 | #ifdef HAS_BUTTON_HOLD | 930 | #ifdef HAS_BUTTON_HOLD |
931 | CHOICE_SETTING(0, backlight_on_button_hold, | 931 | CHOICE_SETTING(0, backlight_on_button_hold, |
932 | LANG_BACKLIGHT_ON_BUTTON_HOLD, 0, "backlight on button hold", | 932 | LANG_BACKLIGHT_ON_BUTTON_HOLD, 0, "backlight on button hold", |