equal
deleted
inserted
replaced
177 // check if mapping has to be altered |
177 // check if mapping has to be altered |
178 if (ec_pdo_mapping_equal(&fsm->sync->mapping, fsm->mapping)) |
178 if (ec_pdo_mapping_equal(&fsm->sync->mapping, fsm->mapping)) |
179 continue; |
179 continue; |
180 |
180 |
181 if (fsm->slave->master->debug_level) { |
181 if (fsm->slave->master->debug_level) { |
182 EC_DBG("Configuring Pdo mapping for SM%u of slave %u.\n", |
182 EC_DBG("Changing Pdo mapping for SM%u of slave %u.\n", |
183 fsm->sync->index, fsm->slave->ring_position); |
183 fsm->sync->index, fsm->slave->ring_position); |
184 } |
184 } |
185 |
185 |
186 // set mapped Pdo count to zero |
186 // set mapped Pdo count to zero |
187 fsm->sdodata.index = 0x1C10 + fsm->sync->index; |
187 fsm->sdodata.index = 0x1C10 + fsm->sync->index; |