summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2004-10-01 18:47:19 +0000
committerJens Arnold <amiconn@rockbox.org>2004-10-01 18:47:19 +0000
commit65bee608f6c429fffced7ad86e291bccb12580e5 (patch)
treec0afe49772175a48231373743967cc426ae261d6
parent52653f29460d3117aeef9ff004b3488868745af4 (diff)
downloadrockbox-65bee608f6c429fffced7ad86e291bccb12580e5.tar.gz
rockbox-65bee608f6c429fffced7ad86e291bccb12580e5.zip
Fixed a typo which lead to non-initialized MAS on Ondio SP
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5144 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--firmware/mp3_playback.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/firmware/mp3_playback.c b/firmware/mp3_playback.c
index 39760d3fab..f6793a9865 100644
--- a/firmware/mp3_playback.c
+++ b/firmware/mp3_playback.c
@@ -531,7 +531,7 @@ static void init_playback(void)
531 mp3_play_pause(false); 531 mp3_play_pause(false);
532 532
533 mas_reset(); 533 mas_reset();
534 534
535 /* Enable the audio CODEC and the DSP core, max analog voltage range */ 535 /* Enable the audio CODEC and the DSP core, max analog voltage range */
536 rc = mas_direct_config_write(MAS_CONTROL, 0x8c00); 536 rc = mas_direct_config_write(MAS_CONTROL, 0x8c00);
537 if(rc < 0) 537 if(rc < 0)
@@ -902,7 +902,7 @@ void mpeg_set_pitch(int pitch)
902} 902}
903#endif 903#endif
904 904
905void mp3_init(int volume, int bass, int treble, int balance, int loudness, 905void mp3_init(int volume, int bass, int treble, int balance, int loudness,
906 int avc, int channel_config, 906 int avc, int channel_config,
907 int mdb_strength, int mdb_harmonics, 907 int mdb_strength, int mdb_harmonics,
908 int mdb_center, int mdb_shape, bool mdb_enable, 908 int mdb_center, int mdb_shape, bool mdb_enable,
@@ -950,7 +950,7 @@ void mp3_init(int volume, int bass, int treble, int balance, int loudness,
950 DEBUGF("MAS3587 derivate %d, version %c%d\n", 950 DEBUGF("MAS3587 derivate %d, version %c%d\n",
951 (mas_version_code & 0xf000) >> 12, 951 (mas_version_code & 0xf000) >> 12,
952 'A' + ((mas_version_code & 0x0f00) >> 8), mas_version_code & 0xff); 952 'A' + ((mas_version_code & 0x0f00) >> 8), mas_version_code & 0xff);
953#elif CONFIG_HW_CODEC == MAS3539F 953#elif CONFIG_HWCODEC == MAS3539F
954 or_b(0x08, &PAIORH); /* output for /PR */ 954 or_b(0x08, &PAIORH); /* output for /PR */
955 init_playback(); 955 init_playback();
956 956