diff options
author | Linus Nielsen Feltzing <linus@haxx.se> | 2003-08-14 23:31:28 +0000 |
---|---|---|
committer | Linus Nielsen Feltzing <linus@haxx.se> | 2003-08-14 23:31:28 +0000 |
commit | c0879d11995b854c75b445827cd91edb10a7e0d7 (patch) | |
tree | f4c3f732dab9fee6947d50493568541d27078676 /apps/settings.c | |
parent | b3621b7e1c44e560d2bd35cae2bfd2acc7e449c2 (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.c | 2 |
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; |