aboutsummaryrefslogtreecommitdiff
path: root/aufgabe4/statistic.c
diff options
context:
space:
mode:
Diffstat (limited to 'aufgabe4/statistic.c')
-rw-r--r--aufgabe4/statistic.c2
1 files changed, 1 insertions, 1 deletions
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);