summaryrefslogtreecommitdiff
path: root/apps/settings.c
diff options
context:
space:
mode:
authorLinus Nielsen Feltzing <linus@haxx.se>2003-08-14 23:31:28 +0000
committerLinus Nielsen Feltzing <linus@haxx.se>2003-08-14 23:31:28 +0000
commitc0879d11995b854c75b445827cd91edb10a7e0d7 (patch)
treef4c3f732dab9fee6947d50493568541d27078676 /apps/settings.c
parentb3621b7e1c44e560d2bd35cae2bfd2acc7e449c2 (diff)
The recording source setting is now saved correctly
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3930 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/settings.c')
-rw-r--r--apps/settings.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/settings.c b/apps/settings.c
index d737e9ff9e..ceb7d7cc96 100644
--- a/apps/settings.c
+++ b/apps/settings.c
@@ -362,7 +362,7 @@ int settings_save( void )
((global_settings.rec_mic_gain & 0x0f) << 4));
config_block[0x22] = (unsigned char)
((global_settings.rec_quality & 7) |
- ((global_settings.rec_source & 1) << 3) |
+ ((global_settings.rec_source & 3) << 3) |
((global_settings.rec_frequency & 7) << 5));
config_block[0x23] = (unsigned char)global_settings.rec_left_gain;
config_block[0x24] = (unsigned char)global_settings.rec_right_gain;