X-Git-Url: https://git.martlubbers.net/?a=blobdiff_plain;f=mart%2Fex10%2Fex10a.c;h=cf1272f712afe7540c10da524c8284b0007fe36f;hb=b0bd8f724348ba4ec1adb341bc37ab556d7abb10;hp=4b0a0a438c3bef61f5eafe0bd48c33759f74197b;hpb=f1479af6bbbe579fba14c1dc888e9c693141deb8;p=des2015.git diff --git a/mart/ex10/ex10a.c b/mart/ex10/ex10a.c index 4b0a0a4..cf1272f 100644 --- a/mart/ex10/ex10a.c +++ b/mart/ex10/ex10a.c @@ -15,7 +15,6 @@ RTIME times[SAMPLES]; void taskf(void *arg) { - RT_TASK *curtask; rt_task_set_periodic(NULL, TM_NOW, 1e5); unsigned int i; @@ -24,18 +23,13 @@ void taskf(void *arg) rt_task_wait_period(NULL); } FILE *file; - file = fopen("ex10a.csv", "w"); + file = fopen("ex10ab.csv", "w"); for(i = 0; i