forked from len0rd/rockbox
Killed warnings
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1076 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
a124e87f84
commit
92eadb44c5
1 changed files with 3 additions and 2 deletions
|
|
@ -567,8 +567,9 @@ void mpeg_treble(int percent)
|
||||||
|
|
||||||
void mpeg_init(void)
|
void mpeg_init(void)
|
||||||
{
|
{
|
||||||
int rc;
|
#ifdef ARCHOS_RECORDER
|
||||||
unsigned long val;
|
unsigned long val;
|
||||||
|
#endif
|
||||||
|
|
||||||
setup_sci0();
|
setup_sci0();
|
||||||
i2c_init();
|
i2c_init();
|
||||||
|
|
@ -593,7 +594,7 @@ void mpeg_init(void)
|
||||||
mas_codec_writereg(0x0, 0x0001);
|
mas_codec_writereg(0x0, 0x0001);
|
||||||
|
|
||||||
/* DSP scale 100% */
|
/* DSP scale 100% */
|
||||||
rc = mas_codec_writereg(7, 0x4000);
|
mas_codec_writereg(7, 0x4000);
|
||||||
|
|
||||||
/* Disable S/PDIF, SDO and SDI */
|
/* Disable S/PDIF, SDO and SDI */
|
||||||
val = 0x2d;
|
val = 0x2d;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue