diff options
author | Jens Arnold <amiconn@rockbox.org> | 2004-11-06 00:54:56 +0000 |
---|---|---|
committer | Jens Arnold <amiconn@rockbox.org> | 2004-11-06 00:54:56 +0000 |
commit | 8366394933ecd8452eb328aa92e49c3e99b13de7 (patch) | |
tree | e9eb818eddb8e1ce6bf4e5d7fc6ba52d9dffc231 /firmware | |
parent | 319d5f71011321053ba41775182543c534da9913 (diff) | |
download | rockbox-8366394933ecd8452eb328aa92e49c3e99b13de7.tar.gz rockbox-8366394933ecd8452eb328aa92e49c3e99b13de7.zip |
Set the MAS serial bitrate to 1 MBit/s as intended. Fixed comment on frequency.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5384 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware')
-rw-r--r-- | firmware/mp3_playback.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/mp3_playback.c b/firmware/mp3_playback.c index dd36578c78..234dc6a20f 100644 --- a/firmware/mp3_playback.c +++ b/firmware/mp3_playback.c | |||
@@ -499,7 +499,7 @@ static void setup_sci0(void) | |||
499 | SMR0 = 0x80; | 499 | SMR0 = 0x80; |
500 | 500 | ||
501 | /* Set baudrate 1Mbit/s */ | 501 | /* Set baudrate 1Mbit/s */ |
502 | BRR0 = 0x03; | 502 | BRR0 = 0x02; |
503 | 503 | ||
504 | /* use SCK as serial clock output */ | 504 | /* use SCK as serial clock output */ |
505 | SCR0 = 0x01; | 505 | SCR0 = 0x01; |
@@ -989,7 +989,7 @@ void mp3_init(int volume, int bass, int treble, int balance, int loudness, | |||
989 | mas_writereg(0xc5, 0); | 989 | mas_writereg(0xc5, 0); |
990 | mas_writereg(0xc6, 0); | 990 | mas_writereg(0xc6, 0); |
991 | 991 | ||
992 | /* We need to set the PLL for a 14.1318MHz crystal */ | 992 | /* We need to set the PLL for a 14.31818MHz crystal */ |
993 | if(mas_version_code == 0x0601) /* Version F10? */ | 993 | if(mas_version_code == 0x0601) /* Version F10? */ |
994 | { | 994 | { |
995 | val = 0x5d9d0; | 995 | val = 0x5d9d0; |