summaryrefslogtreecommitdiff
path: root/apps/settings.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/settings.c')
-rw-r--r--apps/settings.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/apps/settings.c b/apps/settings.c
index aa79946c85..d298ec8d60 100644
--- a/apps/settings.c
+++ b/apps/settings.c
@@ -92,7 +92,7 @@ const char rec_base_directory[] = REC_BASE_DIR;
92#include "dsp.h" 92#include "dsp.h"
93#endif 93#endif
94 94
95#define CONFIG_BLOCK_VERSION 51 95#define CONFIG_BLOCK_VERSION 52
96#define CONFIG_BLOCK_SIZE 512 96#define CONFIG_BLOCK_SIZE 512
97#define RTC_BLOCK_SIZE 44 97#define RTC_BLOCK_SIZE 44
98 98
@@ -464,6 +464,7 @@ static const struct bit_entry hd_bits[] =
464 464
465#ifdef HAVE_RECORDING 465#ifdef HAVE_RECORDING
466 /* recording */ 466 /* recording */
467 {1, S_O(recscreen_on), false, "recscreen on", off_on },
467 {1, S_O(rec_startup), false, "rec screen on startup", off_on }, 468 {1, S_O(rec_startup), false, "rec screen on startup", off_on },
468 {4, S_O(rec_timesplit), 0, "rec timesplit", /* 0...15 */ 469 {4, S_O(rec_timesplit), 0, "rec timesplit", /* 0...15 */
469 "off,00:05,00:10,00:15,00:30,01:00,01:14,01:20,02:00,04:00,06:00,08:00,10:00,12:00,18:00,24:00" }, 470 "off,00:05,00:10,00:15,00:30,01:00,01:14,01:20,02:00,04:00,06:00,08:00,10:00,12:00,18:00,24:00" },
@@ -1336,6 +1337,9 @@ void settings_load(int which)
1336 RTC_BLOCK_SIZE*8); 1337 RTC_BLOCK_SIZE*8);
1337 } 1338 }
1338 1339
1340#ifdef HAVE_RECORDING
1341 global_settings.recscreen_on = false;
1342#endif
1339#ifdef HAVE_LCD_CONTRAST 1343#ifdef HAVE_LCD_CONTRAST
1340 if ( global_settings.contrast < MIN_CONTRAST_SETTING ) 1344 if ( global_settings.contrast < MIN_CONTRAST_SETTING )
1341 global_settings.contrast = lcd_default_contrast(); 1345 global_settings.contrast = lcd_default_contrast();