Fixed bug in data pointer calculation.
authorFlorian Pose <fp@igh-essen.com>
Thu, 31 Aug 2006 16:29:15 +0000
changeset 353 beb26409ba22
parent 352 3f79f0637c60
child 354 2d28f059a1d7
Fixed bug in data pointer calculation.
master/domain.c
--- a/master/domain.c	Tue Aug 29 16:17:31 2006 +0000
+++ b/master/domain.c	Thu Aug 31 16:29:15 2006 +0000
@@ -193,7 +193,7 @@
     list_for_each_entry(other_pdo, &slave->sii_pdos, list) {
         if (other_pdo->sync_index != sync->index) continue;
 
-        list_for_each_entry(other_entry, &pdo->entries, list) {
+        list_for_each_entry(other_entry, &other_pdo->entries, list) {
             if (other_entry == entry) {
                 byte_offset = bit_offset / 8;
                 break;