diff options
Diffstat (limited to 'apps/settings.c')
-rw-r--r-- | apps/settings.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/apps/settings.c b/apps/settings.c index 7ca3820016..ff9c57d136 100644 --- a/apps/settings.c +++ b/apps/settings.c | |||
@@ -182,12 +182,14 @@ static const struct bit_entry rtc_bits[] = | |||
182 | {2, S_O(repeat_mode), REPEAT_ALL, "repeat", "off,all,one" }, | 182 | {2, S_O(repeat_mode), REPEAT_ALL, "repeat", "off,all,one" }, |
183 | /* LCD */ | 183 | /* LCD */ |
184 | {6, S_O(contrast), 40, "contrast", NULL }, | 184 | {6, S_O(contrast), 40, "contrast", NULL }, |
185 | #ifdef HAVE_BACKLIGHT | 185 | #ifdef CONFIG_BACKLIGHT |
186 | #ifdef HAVE_CHARGING | ||
186 | {1, S_O(backlight_on_when_charging), false, | 187 | {1, S_O(backlight_on_when_charging), false, |
187 | "backlight when plugged", off_on }, | 188 | "backlight when plugged", off_on }, |
189 | #endif | ||
188 | {5, S_O(backlight_timeout), 5, "backlight timeout", | 190 | {5, S_O(backlight_timeout), 5, "backlight timeout", |
189 | "off,on,1,2,3,4,5,6,7,8,9,10,15,20,25,30,45,60,90" }, | 191 | "off,on,1,2,3,4,5,6,7,8,9,10,15,20,25,30,45,60,90" }, |
190 | #endif | 192 | #endif /* CONFIG_BACKLIGHT */ |
191 | #ifdef HAVE_LCD_BITMAP | 193 | #ifdef HAVE_LCD_BITMAP |
192 | {1, S_O(invert), false, "invert", off_on }, | 194 | {1, S_O(invert), false, "invert", off_on }, |
193 | {1, S_O(flip_display), false, "flip display", off_on }, | 195 | {1, S_O(flip_display), false, "flip display", off_on }, |
@@ -247,7 +249,7 @@ static const struct bit_entry hd_bits[] = | |||
247 | 249 | ||
248 | /* # of bits, offset+size, default, .cfg name, .cfg values */ | 250 | /* # of bits, offset+size, default, .cfg name, .cfg values */ |
249 | /* more display */ | 251 | /* more display */ |
250 | #ifdef HAVE_BACKLIGHT | 252 | #ifdef CONFIG_BACKLIGHT |
251 | {1, S_O(caption_backlight), false, "caption backlight", off_on }, | 253 | {1, S_O(caption_backlight), false, "caption backlight", off_on }, |
252 | #endif | 254 | #endif |
253 | {4, S_O(scroll_speed), 9, "scroll speed", NULL }, /* 0...15 */ | 255 | {4, S_O(scroll_speed), 9, "scroll speed", NULL }, /* 0...15 */ |