summaryrefslogtreecommitdiffstats
path: root/firmware/test/i2c/main.c
diff options
context:
space:
mode:
authorLinus Nielsen Feltzing <linus@haxx.se>2002-05-09 23:10:55 +0000
committerLinus Nielsen Feltzing <linus@haxx.se>2002-05-09 23:10:55 +0000
commitb74664f0663fbbcc1de2c4fc93e2282f681f828c (patch)
tree954c945eeba6183873685522e8bb52e310455ec0 /firmware/test/i2c/main.c
parent2990ed250c9b8cdf5a8190a3b4354570a6ac3a22 (diff)
downloadrockbox-b74664f0663fbbcc1de2c4fc93e2282f681f828c.tar.gz
rockbox-b74664f0663fbbcc1de2c4fc93e2282f681f828c.zip
Now loads a megabyte and plays it
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@533 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/test/i2c/main.c')
-rw-r--r--firmware/test/i2c/main.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/firmware/test/i2c/main.c b/firmware/test/i2c/main.c
index bf4786d989..68f5e9b030 100644
--- a/firmware/test/i2c/main.c
+++ b/firmware/test/i2c/main.c
@@ -247,13 +247,14 @@ int main(void)
debugf("Couldn't open file\n");
}
- i = read(f, mp3buf, 200000);
+ i = read(f, mp3buf, 1000000);
debugf("Read %d bytes\n", i);
mp3datalen = i;
ata_spindown(-1);
-
+
+ debugf("bit swapping...\n");
for(i = 0;i < mp3datalen;i++)
{
mp3buf[i] = fliptable[mp3buf[i]];