Fixed bug in data pointer calculation.

This commit is contained in:
Florian Pose 2006-08-31 16:29:15 +00:00
parent c9e407c526
commit e4b401063b
1 changed files with 1 additions and 1 deletions

View File

@ -193,7 +193,7 @@ int ec_domain_reg_pdo_entry(ec_domain_t *domain, /**< EtherCAT domain */
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;