diff options
author | Jörg Hohensohn <hohensoh@rockbox.org> | 2003-07-01 07:03:27 +0000 |
---|---|---|
committer | Jörg Hohensohn <hohensoh@rockbox.org> | 2003-07-01 07:03:27 +0000 |
commit | 3a36a570057b2756760211cba72d3b3e15908912 (patch) | |
tree | 7eaec73c926057092a04cbb54a0c8a1557622e27 | |
parent | 7b03153c0ea7bd8818cc9ceff1c7147dbc7bbc97 (diff) | |
download | rockbox-3a36a570057b2756760211cba72d3b3e15908912.tar.gz rockbox-3a36a570057b2756760211cba72d3b3e15908912.zip |
Another port init fixes the silent play problem, Rockbox is now ready for FLASH!
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3793 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r-- | firmware/mpeg.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/firmware/mpeg.c b/firmware/mpeg.c index 4517e1edf5..3bdfac5a8c 100644 --- a/firmware/mpeg.c +++ b/firmware/mpeg.c | |||
@@ -2014,8 +2014,8 @@ static void mpeg_thread(void) | |||
2014 | 2014 | ||
2015 | static void setup_sci0(void) | 2015 | static void setup_sci0(void) |
2016 | { | 2016 | { |
2017 | /* PB15 is I/O, PB14 is IRQ6, PB12 is SCK0 */ | 2017 | /* PB15 is I/O, PB14 is IRQ6, PB12 is SCK0, PB9 is TxD0 */ |
2018 | PBCR1 = (PBCR1 & 0x0cff) | 0x1200; | 2018 | PBCR1 = (PBCR1 & 0x0cff) | 0x1208; |
2019 | 2019 | ||
2020 | /* Set PB12 to output */ | 2020 | /* Set PB12 to output */ |
2021 | PBIOR |= 0x1000; | 2021 | PBIOR |= 0x1000; |
@@ -2973,7 +2973,7 @@ void mpeg_init(int volume, int bass, int treble, int balance, int loudness, | |||
2973 | loudness = bass_boost = avc; | 2973 | loudness = bass_boost = avc; |
2974 | #endif | 2974 | #endif |
2975 | 2975 | ||
2976 | PAIOR |= 0x0800; /* output for /PR */ | 2976 | PAIOR |= 0x0800; /* output for /PR */ |
2977 | setup_sci0(); | 2977 | setup_sci0(); |
2978 | 2978 | ||
2979 | #ifdef HAVE_MAS3587F | 2979 | #ifdef HAVE_MAS3587F |