From eb788e2a4aa2eadb2e7e456dfa17e8448d49c205 Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Mon, 6 Dec 2010 20:00:33 +0100 Subject: Endlosschleifen vereinheitlicht --- aufgabe4/statistic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'aufgabe4/statistic.c') diff --git a/aufgabe4/statistic.c b/aufgabe4/statistic.c index cf59217..2618b5c 100644 --- a/aufgabe4/statistic.c +++ b/aufgabe4/statistic.c @@ -22,7 +22,7 @@ void statistic() { uint8_t c, avg; cnt = 0; - for (;;) { + while (1) { /* Wir warten auf Nachrichten des CONV-Prozesses */ while (queue_get_dir() != D_CONV_TO_STAT) usleep(1); -- cgit v1.2.3-70-g09d2