From: Jakob Haufe Date: Sat, 22 Sep 2018 19:47:09 +0000 (+0200) Subject: Switch to simple pattern for testing X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=59a702265025ad812f5c19eb3ec45e332a37a08e;p=rgb2r-2017 Switch to simple pattern for testing --- diff --git a/relfile.c b/relfile.c index 6a2fac7..5871c1b 100644 --- a/relfile.c +++ b/relfile.c @@ -102,7 +102,7 @@ int main(void) rf.fd=2; rf.devnr=8; rf.sa=3; - rf.recsize=16; + rf.recsize=25; if(relfile_open(&rf, "reldata")) { @@ -113,7 +113,7 @@ int main(void) start_tenth = CIA1.tod_10; start_sec = CIA1.tod_sec; - for(i=1;i<=50;i++) + for(i=1;i<=25;i++) { //cgetc(); /* @@ -141,11 +141,14 @@ int main(void) return 2; } */ - srand(i); + cprintf("W%d: ", i); for(j=0;j