equal
deleted
inserted
replaced
1402 if (!(slave->sii_mailbox_protocols & EC_MBOX_COE)) { |
1402 if (!(slave->sii_mailbox_protocols & EC_MBOX_COE)) { |
1403 EC_ERR("Slave %u does not support CoE!\n", slave->ring_position); |
1403 EC_ERR("Slave %u does not support CoE!\n", slave->ring_position); |
1404 return -1; |
1404 return -1; |
1405 } |
1405 } |
1406 |
1406 |
1407 // does the slave provide the PDO list? |
1407 // does the slave provide the PDO? |
1408 list_for_each_entry(pdo, &slave->sii_pdos, list) { |
1408 list_for_each_entry(pdo, &slave->sii_pdos, list) { |
1409 if (pdo->index == pdo_index) { |
1409 if (pdo->index == pdo_index) { |
1410 not_found = 0; |
1410 not_found = 0; |
1411 break; |
1411 break; |
1412 } |
1412 } |