summaryrefslogtreecommitdiff
path: root/apps/settings.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/settings.c')
-rw-r--r--apps/settings.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/settings.c b/apps/settings.c
index 1316969726..2eeb6a937e 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 40 97#define CONFIG_BLOCK_VERSION 40
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
@@ -273,7 +273,7 @@ static const struct bit_entry rtc_bits[] =
273 {14, S_O(max_files_in_dir), 400, 273 {14, S_O(max_files_in_dir), 400,
274 "max files in dir", NULL }, /* 50...10000 */ 274 "max files in dir", NULL }, /* 50...10000 */
275 /* battery */ 275 /* battery */
276 {12, S_O(battery_capacity), BATTERY_CAPACITY_MIN, "battery capacity", 276 {12, S_O(battery_capacity), BATTERY_CAPACITY_DEFAULT, "battery capacity",
277 NULL }, /* 1500...3200 for NiMH, 2200...3200 for LiIon, 277 NULL }, /* 1500...3200 for NiMH, 2200...3200 for LiIon,
278 500...1500 for Alkaline */ 278 500...1500 for Alkaline */
279#ifdef HAVE_CHARGING 279#ifdef HAVE_CHARGING
@@ -1612,7 +1612,7 @@ bool settings_save_config(void)
1612 fdprintf(fd, "# .cfg file created by rockbox %s - " 1612 fdprintf(fd, "# .cfg file created by rockbox %s - "
1613 "http://www.rockbox.org\r\n#\r\n#\r\n# wps / rwps / language" 1613 "http://www.rockbox.org\r\n#\r\n#\r\n# wps / rwps / language"
1614 " / font / fmpreset / backdrop \r\n#\r\n", appsversion); 1614 " / font / fmpreset / backdrop \r\n#\r\n", appsversion);
1615 1615
1616 if (global_settings.wps_file[0] != 0) 1616 if (global_settings.wps_file[0] != 0)
1617 fdprintf(fd, "wps: %s/%s.wps\r\n", WPS_DIR, 1617 fdprintf(fd, "wps: %s/%s.wps\r\n", WPS_DIR,
1618 global_settings.wps_file); 1618 global_settings.wps_file);
@@ -1721,7 +1721,7 @@ void settings_reset(void) {
1721 global_settings.superbass = sound_default(SOUND_SUPERBASS); 1721 global_settings.superbass = sound_default(SOUND_SUPERBASS);
1722#endif 1722#endif
1723 global_settings.contrast = lcd_default_contrast(); 1723 global_settings.contrast = lcd_default_contrast();
1724 1724
1725#ifdef CONFIG_TUNER 1725#ifdef CONFIG_TUNER
1726 global_settings.fmr_file[0] = '\0'; 1726 global_settings.fmr_file[0] = '\0';
1727#endif 1727#endif