diff options
Diffstat (limited to 'apps/settings.c')
-rw-r--r-- | apps/settings.c | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/apps/settings.c b/apps/settings.c index 1a6b4c3199..8122c58aa8 100644 --- a/apps/settings.c +++ b/apps/settings.c | |||
@@ -94,7 +94,7 @@ const char rec_base_directory[] = REC_BASE_DIR; | |||
94 | #include "dsp.h" | 94 | #include "dsp.h" |
95 | #endif | 95 | #endif |
96 | 96 | ||
97 | #define CONFIG_BLOCK_VERSION 43 | 97 | #define CONFIG_BLOCK_VERSION 44 |
98 | #define CONFIG_BLOCK_SIZE 512 | 98 | #define CONFIG_BLOCK_SIZE 512 |
99 | #define RTC_BLOCK_SIZE 44 | 99 | #define RTC_BLOCK_SIZE 44 |
100 | 100 | ||
@@ -359,6 +359,13 @@ static const struct bit_entry hd_bits[] = | |||
359 | {4, S_O(scroll_speed), 9, "scroll speed", NULL }, /* 0...15 */ | 359 | {4, S_O(scroll_speed), 9, "scroll speed", NULL }, /* 0...15 */ |
360 | {8, S_O(scroll_delay), 100, "scroll delay", NULL }, /* 0...250 */ | 360 | {8, S_O(scroll_delay), 100, "scroll delay", NULL }, /* 0...250 */ |
361 | {8, S_O(bidir_limit), 50, "bidir limit", NULL }, /* 0...200 */ | 361 | {8, S_O(bidir_limit), 50, "bidir limit", NULL }, /* 0...200 */ |
362 | |||
363 | #ifdef HAVE_REMOTE_LCD | ||
364 | {4, S_O(remote_scroll_speed), 9, "remote scroll speed", NULL }, /* 0...15 */ | ||
365 | {8, S_O(remote_scroll_step), 6, "remote scroll step", NULL }, /* 1...160 */ | ||
366 | {8, S_O(remote_scroll_delay), 100, "remote scroll delay", NULL }, /* 0...250 */ | ||
367 | #endif | ||
368 | |||
362 | #ifdef HAVE_LCD_BITMAP | 369 | #ifdef HAVE_LCD_BITMAP |
363 | {1, S_O(offset_out_of_view), false, "Screen Scrolls Out Of View", off_on }, | 370 | {1, S_O(offset_out_of_view), false, "Screen Scrolls Out Of View", off_on }, |
364 | #if LCD_WIDTH > 255 | 371 | #if LCD_WIDTH > 255 |
@@ -1004,9 +1011,9 @@ void settings_apply(void) | |||
1004 | lcd_remote_set_contrast(global_settings.remote_contrast); | 1011 | lcd_remote_set_contrast(global_settings.remote_contrast); |
1005 | lcd_remote_set_invert_display(global_settings.remote_invert); | 1012 | lcd_remote_set_invert_display(global_settings.remote_invert); |
1006 | lcd_remote_set_flip(global_settings.remote_flip_display); | 1013 | lcd_remote_set_flip(global_settings.remote_flip_display); |
1007 | lcd_remote_scroll_speed(global_settings.scroll_speed); | 1014 | lcd_remote_scroll_speed(global_settings.remote_scroll_speed); |
1008 | lcd_remote_scroll_step(global_settings.scroll_step); | 1015 | lcd_remote_scroll_step(global_settings.remote_scroll_step); |
1009 | lcd_remote_scroll_delay(global_settings.scroll_delay * (HZ/10)); | 1016 | lcd_remote_scroll_delay(global_settings.remote_scroll_delay * (HZ/10)); |
1010 | #ifdef HAVE_REMOTE_LCD_TICKING | 1017 | #ifdef HAVE_REMOTE_LCD_TICKING |
1011 | lcd_remote_emireduce(global_settings.remote_reduce_ticking); | 1018 | lcd_remote_emireduce(global_settings.remote_reduce_ticking); |
1012 | #endif | 1019 | #endif |