summaryrefslogtreecommitdiff
path: root/firmware/mpeg.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/mpeg.c')
-rw-r--r--firmware/mpeg.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/firmware/mpeg.c b/firmware/mpeg.c
index b6a661f778..ab2fefc872 100644
--- a/firmware/mpeg.c
+++ b/firmware/mpeg.c
@@ -1327,6 +1327,8 @@ void mpeg_init(int volume, int bass, int treble, int loudness, int bass_boost, i
1327 1327
1328 setup_sci0(); 1328 setup_sci0();
1329 1329
1330 dac_init();
1331
1330#ifdef HAVE_MAS3587F 1332#ifdef HAVE_MAS3587F
1331 mas_reset(); 1333 mas_reset();
1332 1334
@@ -1364,6 +1366,11 @@ void mpeg_init(int volume, int bass, int treble, int loudness, int bass_boost, i
1364#endif 1366#endif
1365 1367
1366#ifdef HAVE_MAS3507D 1368#ifdef HAVE_MAS3507D
1369 PBDR &= ~0x20;
1370 sleep(HZ/5);
1371 PBDR |= 0x20;
1372 sleep(HZ/5);
1373
1367 mas_readmem(MAS_BANK_D1, 0xff7, &mas_version_code, 1); 1374 mas_readmem(MAS_BANK_D1, 0xff7, &mas_version_code, 1);
1368 1375
1369 mas_writereg(0x3b, 0x20); /* Don't ask why. The data sheet doesn't say */ 1376 mas_writereg(0x3b, 0x20); /* Don't ask why. The data sheet doesn't say */