summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinus Nielsen Feltzing <linus@haxx.se>2002-11-11 13:13:30 +0000
committerLinus Nielsen Feltzing <linus@haxx.se>2002-11-11 13:13:30 +0000
commitd25a8e80e8d76473377d2b994a67744d9c41cb73 (patch)
tree4bfb7c3e07a6076fd0037a68feb9090cfc3a0978
parent6dc77d881b7fecf9818f272743eb8076275e7120 (diff)
downloadrockbox-d25a8e80e8d76473377d2b994a67744d9c41cb73.tar.gz
rockbox-d25a8e80e8d76473377d2b994a67744d9c41cb73.zip
Mic gain was improperly saved
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2823 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/settings.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/settings.c b/apps/settings.c
index 9ef224e069..328061d6ef 100644
--- a/apps/settings.c
+++ b/apps/settings.c
@@ -334,7 +334,7 @@ int settings_save( void )
334 config_block[0x21] = (unsigned char) 334 config_block[0x21] = (unsigned char)
335 ((global_settings.repeat_mode & 3) | 335 ((global_settings.repeat_mode & 3) |
336 ((global_settings.rec_channels & 1) << 2) | 336 ((global_settings.rec_channels & 1) << 2) |
337 ((global_settings.rec_mic_gain & 0x0f) << 3)); 337 ((global_settings.rec_mic_gain & 0x0f) << 4));
338 config_block[0x22] = (unsigned char) 338 config_block[0x22] = (unsigned char)
339 ((global_settings.rec_quality & 7) | 339 ((global_settings.rec_quality & 7) |
340 ((global_settings.rec_source & 1) << 3) | 340 ((global_settings.rec_source & 1) << 3) |