diff options
Diffstat (limited to 'firmware')
-rw-r--r-- | firmware/mpeg.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/firmware/mpeg.c b/firmware/mpeg.c index eda08e139d..955d598c54 100644 --- a/firmware/mpeg.c +++ b/firmware/mpeg.c | |||
@@ -567,8 +567,9 @@ void mpeg_treble(int percent) | |||
567 | 567 | ||
568 | void mpeg_init(void) | 568 | void mpeg_init(void) |
569 | { | 569 | { |
570 | int rc; | 570 | #ifdef ARCHOS_RECORDER |
571 | unsigned long val; | 571 | unsigned long val; |
572 | #endif | ||
572 | 573 | ||
573 | setup_sci0(); | 574 | setup_sci0(); |
574 | i2c_init(); | 575 | i2c_init(); |
@@ -593,7 +594,7 @@ void mpeg_init(void) | |||
593 | mas_codec_writereg(0x0, 0x0001); | 594 | mas_codec_writereg(0x0, 0x0001); |
594 | 595 | ||
595 | /* DSP scale 100% */ | 596 | /* DSP scale 100% */ |
596 | rc = mas_codec_writereg(7, 0x4000); | 597 | mas_codec_writereg(7, 0x4000); |
597 | 598 | ||
598 | /* Disable S/PDIF, SDO and SDI */ | 599 | /* Disable S/PDIF, SDO and SDI */ |
599 | val = 0x2d; | 600 | val = 0x2d; |