diff options
Diffstat (limited to 'apps/settings.c')
-rw-r--r-- | apps/settings.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/apps/settings.c b/apps/settings.c index d37e02692c..63e7a3b9d9 100644 --- a/apps/settings.c +++ b/apps/settings.c | |||
@@ -40,6 +40,7 @@ | |||
40 | #include "power.h" | 40 | #include "power.h" |
41 | #include "backlight.h" | 41 | #include "backlight.h" |
42 | #include "powermgmt.h" | 42 | #include "powermgmt.h" |
43 | #include "bidi.h" | ||
43 | #include "status.h" | 44 | #include "status.h" |
44 | #include "atoi.h" | 45 | #include "atoi.h" |
45 | #include "screens.h" | 46 | #include "screens.h" |
@@ -265,10 +266,14 @@ static const struct bit_entry rtc_bits[] = | |||
265 | {1, S_O(remote_flip_display), false, "remote flip display", off_on }, | 266 | {1, S_O(remote_flip_display), false, "remote flip display", off_on }, |
266 | #endif | 267 | #endif |
267 | 268 | ||
269 | #ifdef HAVE_LCD_BITMAP /* move to LCD next time we bump version */ | ||
270 | {1, S_O(bidi_support), false, "bidi hebrew/arabic", off_on }, | ||
271 | #endif | ||
272 | |||
268 | /* new stuff to be added here */ | 273 | /* new stuff to be added here */ |
269 | /* If values are just added to the end, no need to bump the version. */ | 274 | /* If values are just added to the end, no need to bump the version. */ |
270 | 275 | ||
271 | /* Current sum of bits: 268 (worst case, but w/o remote lcd) */ | 276 | /* Current sum of bits: 277 (worst case, but w/o remote lcd) */ |
272 | /* Sum of all bit sizes must not grow beyond 288! */ | 277 | /* Sum of all bit sizes must not grow beyond 288! */ |
273 | }; | 278 | }; |
274 | 279 | ||
@@ -820,6 +825,7 @@ void settings_apply(void) | |||
820 | #endif | 825 | #endif |
821 | 826 | ||
822 | #ifdef HAVE_LCD_BITMAP | 827 | #ifdef HAVE_LCD_BITMAP |
828 | set_bidi_support(global_settings.bidi_support); | ||
823 | lcd_set_invert_display(global_settings.invert); | 829 | lcd_set_invert_display(global_settings.invert); |
824 | lcd_set_flip(global_settings.flip_display); | 830 | lcd_set_flip(global_settings.flip_display); |
825 | button_set_flip(global_settings.flip_display); | 831 | button_set_flip(global_settings.flip_display); |