summaryrefslogtreecommitdiff
path: root/apps/settings.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/settings.c')
-rw-r--r--apps/settings.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/apps/settings.c b/apps/settings.c
index 45ea7de072..10333b15c1 100644
--- a/apps/settings.c
+++ b/apps/settings.c
@@ -71,7 +71,7 @@ const char rec_base_directory[] = REC_BASE_DIR;
71 71
72 72
73 73
74#define CONFIG_BLOCK_VERSION 16 74#define CONFIG_BLOCK_VERSION 17
75#define CONFIG_BLOCK_SIZE 512 75#define CONFIG_BLOCK_SIZE 512
76#define RTC_BLOCK_SIZE 44 76#define RTC_BLOCK_SIZE 44
77 77
@@ -150,6 +150,7 @@ Rest of config block, only saved to disk:
150static const char off_on[] = "off,on"; 150static const char off_on[] = "off,on";
151static const char off_on_ask[] = "off,on,ask"; 151static const char off_on_ask[] = "off,on,ask";
152static const char graphic_numeric[] = "graphic,numeric"; 152static const char graphic_numeric[] = "graphic,numeric";
153static const char off_number_spell_hover[] = "off,number,spell,hover";
153 154
154/* the part of the settings which ends up in the RTC RAM, where available 155/* the part of the settings which ends up in the RTC RAM, where available
155 (those we either need early, save frequently, or without spinup) */ 156 (those we either need early, save frequently, or without spinup) */
@@ -319,8 +320,8 @@ static const struct bit_entry hd_bits[] =
319 {1, S_O(line_in), false, "line in", off_on }, 320 {1, S_O(line_in), false, "line in", off_on },
320#endif 321#endif
321 /* voice */ 322 /* voice */
322 {3, S_O(talk_dir), 0, "talk dir", "off,number,spell,enter,hover" }, 323 {2, S_O(talk_dir), 0, "talk dir", off_number_spell_hover },
323 {2, S_O(talk_file), 0, "talk file", "off,number,spell" }, 324 {2, S_O(talk_file), 0, "talk file", off_number_spell_hover },
324 {1, S_O(talk_menu), true, "talk menu", off_on }, 325 {1, S_O(talk_menu), true, "talk menu", off_on },
325 326
326 /* If values are just added to the end, no need to bump the version. */ 327 /* If values are just added to the end, no need to bump the version. */