equal
deleted
inserted
replaced
469 |
469 |
470 // Check for pending internal SDO requests |
470 // Check for pending internal SDO requests |
471 if (ec_fsm_master_action_process_sdo(fsm)) |
471 if (ec_fsm_master_action_process_sdo(fsm)) |
472 return; |
472 return; |
473 |
473 |
474 // check, if slaves have an SDO dictionary to read out. |
474 // enable processing of SDO/FOE requests |
|
475 for (slave = master->slaves; |
|
476 slave < master->slaves + master->slave_count; |
|
477 slave++) { |
|
478 ec_fsm_slave_ready(&slave->fsm); |
|
479 } |
|
480 |
|
481 // check, if slaves have an SDO dictionary to read out. |
475 for (slave = master->slaves; |
482 for (slave = master->slaves; |
476 slave < master->slaves + master->slave_count; |
483 slave < master->slaves + master->slave_count; |
477 slave++) { |
484 slave++) { |
478 if (!(slave->sii.mailbox_protocols & EC_MBOX_COE) |
485 if (!(slave->sii.mailbox_protocols & EC_MBOX_COE) |
479 || (slave->sii.has_general |
486 || (slave->sii.has_general |