Fixed Pdo mapping bug.
authorFlorian Pose <fp@igh-essen.com>
Thu, 21 Feb 2008 12:43:55 +0000
changeset 808 1feddbd65608
parent 807 f8bca95ab75d
child 809 ec4ef8911824
Fixed Pdo mapping bug.
master/fsm_pdo_mapping.c
--- a/master/fsm_pdo_mapping.c	Thu Feb 21 09:50:54 2008 +0000
+++ b/master/fsm_pdo_mapping.c	Thu Feb 21 12:43:55 2008 +0000
@@ -186,7 +186,7 @@
         }
     }
 
-    if (!sync) {
+    if (!fsm->sync) {
         if (fsm->slave->master->debug_level)
             EC_DBG("Pdo mapping finished for slave %u.\n",
                     fsm->slave->ring_position);