summaryrefslogtreecommitdiff
path: root/firmware/test
diff options
context:
space:
mode:
authorAndree Buschmann <AndreeBuschmann@t-online.de>2010-01-03 10:35:31 +0000
committerAndree Buschmann <AndreeBuschmann@t-online.de>2010-01-03 10:35:31 +0000
commitbfc129a5928072edb736b0a682b91bbaaf69f7f7 (patch)
treedacd3ac96aee56e825e899b7ef7eba036ae2f7ab /firmware/test
parent64fb3e8df30a10163bb3474b6ae0664d59ae80bb (diff)
downloadrockbox-bfc129a5928072edb736b0a682b91bbaaf69f7f7.tar.gz
rockbox-bfc129a5928072edb736b0a682b91bbaaf69f7f7.zip
Fix even more tabs
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24155 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/test')
-rw-r--r--firmware/test/i2c/gendata.c32
1 files changed, 16 insertions, 16 deletions
diff --git a/firmware/test/i2c/gendata.c b/firmware/test/i2c/gendata.c
index 03bb002b88..dc5989ee66 100644
--- a/firmware/test/i2c/gendata.c
+++ b/firmware/test/i2c/gendata.c
@@ -10,22 +10,22 @@ int main(int argc, char *argv[])
10 10
11 if(f) 11 if(f)
12 { 12 {
13 if(fread(buf, 1, 128000, f) < 128000) 13 if(fread(buf, 1, 128000, f) < 128000)
14 { 14 {
15 fprintf(stderr, "FAN!\n"); 15 fprintf(stderr, "FAN!\n");
16 exit(1); 16 exit(1);
17 } 17 }
18 18
19 printf("int mp3datalen = 128000;\n"); 19 printf("int mp3datalen = 128000;\n");
20 printf("unsigned char mp3data[128000] =\n{"); 20 printf("unsigned char mp3data[128000] =\n{");
21 for(i = 0;i < 128000;i++) 21 for(i = 0;i < 128000;i++)
22 { 22 {
23 if(i % 8 == 0) 23 if(i % 8 == 0)
24 { 24 {
25 printf("\n"); 25 printf("\n");
26 } 26 }
27 printf("0x%02x, ", buf[i]); 27 printf("0x%02x, ", buf[i]);
28 } 28 }
29 printf("};\n"); 29 printf("};\n");
30 } 30 }
31} 31}