diff options
author | Dave Chapman <dave@dchapman.com> | 2006-05-02 21:47:22 +0000 |
---|---|---|
committer | Dave Chapman <dave@dchapman.com> | 2006-05-02 21:47:22 +0000 |
commit | a3be63d22515a2da0df11c8de73554930b3a2b71 (patch) | |
tree | e60e46e8c0a0c92df927d8125c80eee0e468bcb1 /apps/settings.c | |
parent | 93ff94949c465f6c41b8f0701240c90f2ae917a4 (diff) | |
download | rockbox-a3be63d22515a2da0df11c8de73554930b3a2b71.tar.gz rockbox-a3be63d22515a2da0df11c8de73554930b3a2b71.zip |
iPod: Bass/Treble settings need 5 bits, not 4 - fixes bug report #5276. This also increases the CONFIG_BLOCK_VERSION on all platforms - this will reset your settings.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9863 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/settings.c')
-rw-r--r-- | apps/settings.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/settings.c b/apps/settings.c index 5929da4439..ad1ec70c07 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 41 |
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 | ||
@@ -220,8 +220,8 @@ static const struct bit_entry rtc_bits[] = | |||
220 | {3, S_O(treble), 0, "treble", NULL }, /* 0..+6 */ | 220 | {3, S_O(treble), 0, "treble", NULL }, /* 0..+6 */ |
221 | #elif defined(HAVE_WM8975) || defined(HAVE_WM8758) \ | 221 | #elif defined(HAVE_WM8975) || defined(HAVE_WM8758) \ |
222 | || defined(HAVE_WM8731) || defined(HAVE_WM8721) | 222 | || defined(HAVE_WM8731) || defined(HAVE_WM8721) |
223 | {4 | SIGNED, S_O(bass), 0, "bass", NULL }, /* -6..+9 */ | 223 | {5 | SIGNED, S_O(bass), 0, "bass", NULL }, /* -6..+9 */ |
224 | {4 | SIGNED, S_O(treble), 0, "treble", NULL }, /* -6..+9 */ | 224 | {5 | SIGNED, S_O(treble), 0, "treble", NULL }, /* -6..+9 */ |
225 | #endif | 225 | #endif |
226 | #if (CONFIG_CODEC == MAS3587F) || (CONFIG_CODEC == MAS3539F) | 226 | #if (CONFIG_CODEC == MAS3587F) || (CONFIG_CODEC == MAS3539F) |
227 | {5, S_O(loudness), 0, "loudness", NULL }, /* 0...17 */ | 227 | {5, S_O(loudness), 0, "loudness", NULL }, /* 0...17 */ |