Minor fix in master.c
authorFlorian Pose <fp@igh-essen.com>
Mon, 08 Jan 2007 15:15:17 +0000
changeset 517 b6ebde3d006d
parent 516 f703e33ee395
child 518 b6a1426ba724
Minor fix in master.c
master/master.c
--- a/master/master.c	Mon Jan 08 15:02:05 2007 +0000
+++ b/master/master.c	Mon Jan 08 15:15:17 2007 +0000
@@ -399,7 +399,7 @@
     }
 
     // wait for FSM datagram
-    if (datagram->state == EC_DATAGRAM_SENT) {;
+    if (datagram->state == EC_DATAGRAM_SENT) {
         while (get_cycles() - datagram->cycles_sent
                < (cycles_t) EC_IO_TIMEOUT /* us */ * (cpu_khz / 1000)) {}
         ecrt_master_receive(master);