summaryrefslogtreecommitdiff
path: root/firmware/drivers/wm8758.c
diff options
context:
space:
mode:
authorDan Everton <dan@iocaine.org>2006-08-15 09:38:13 +0000
committerDan Everton <dan@iocaine.org>2006-08-15 09:38:13 +0000
commiteb1dd38960214cb5581b9d39ef4fe73e2a050090 (patch)
tree225cdbae19e67685ba898f0559fa25a7177f91bd /firmware/drivers/wm8758.c
parent1792170633842d274d623dcdd7265f2e55ff2fc9 (diff)
downloadrockbox-eb1dd38960214cb5581b9d39ef4fe73e2a050090.tar.gz
rockbox-eb1dd38960214cb5581b9d39ef4fe73e2a050090.zip
Add support for displaying the the current path or the full path (or neither) in the file browser. Check General Settings -> File View -> Show Path for the options.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10578 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/drivers/wm8758.c')
-rw-r--r--firmware/drivers/wm8758.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/firmware/drivers/wm8758.c b/firmware/drivers/wm8758.c
index 9d2a300e70..33960af9b4 100644
--- a/firmware/drivers/wm8758.c
+++ b/firmware/drivers/wm8758.c
@@ -286,14 +286,14 @@ void wmcodec_set_equalizer_band(int band, int freq, int bw, int gain)
286 eq |= 12 - gain; 286 eq |= 12 - gain;
287 287
288 if (band == 0) { 288 if (band == 0) {
289 wm8758_write(EQ0, eq | 0x100); /* Always apply EQ to the DAC path */ 289 wm8758_write(EQ1, eq | 0x100); /* Always apply EQ to the DAC path */
290 } else if (band == 1) { 290 } else if (band == 1) {
291 wm8758_write(EQ1, eq);
292 } else if (band == 2) {
293 wm8758_write(EQ2, eq); 291 wm8758_write(EQ2, eq);
294 } else if (band == 3) { 292 } else if (band == 2) {
295 wm8758_write(EQ3, eq); 293 wm8758_write(EQ3, eq);
296 } else if (band == 4) { 294 } else if (band == 3) {
297 wm8758_write(EQ4, eq); 295 wm8758_write(EQ4, eq);
296 } else if (band == 4) {
297 wm8758_write(EQ5, eq);
298 } 298 }
299} 299}