diff options
author | Thomas Martitz <kugel@rockbox.org> | 2010-04-25 23:02:22 +0000 |
---|---|---|
committer | Thomas Martitz <kugel@rockbox.org> | 2010-04-25 23:02:22 +0000 |
commit | 7eaea74f331b594eaf0154691e704259e5cb915a (patch) | |
tree | 09ec3b0d166e7a8603d4e652d5a303cc68b8927d /firmware | |
parent | 668bd3445ecb39483160bbb310afa4337c83d0d9 (diff) | |
download | rockbox-7eaea74f331b594eaf0154691e704259e5cb915a.tar.gz rockbox-7eaea74f331b594eaf0154691e704259e5cb915a.zip |
Fix yellows
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25720 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware')
-rw-r--r-- | firmware/sound.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/sound.c b/firmware/sound.c index 84c022e0c0..d64dfcfdb9 100644 --- a/firmware/sound.c +++ b/firmware/sound.c | |||
@@ -149,7 +149,7 @@ void sound_set_dsp_callback(int (*func)(int, intptr_t)) | |||
149 | } | 149 | } |
150 | #endif | 150 | #endif |
151 | 151 | ||
152 | #if CONFIG_CODEC == MAS3507D | 152 | #if (CONFIG_CODEC == MAS3507D) && !defined(SIMULATOR) |
153 | /* convert tenth of dB volume (-780..+180) to dac3550 register value */ | 153 | /* convert tenth of dB volume (-780..+180) to dac3550 register value */ |
154 | static int tenthdb2reg(int db) | 154 | static int tenthdb2reg(int db) |
155 | { | 155 | { |