Add ecrt_master_scan_progress to fake lib.
This commit is contained in:
parent
3e3b938c2f
commit
185674e2b4
|
|
@ -287,6 +287,16 @@ int ecrt_master_receive(
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
int ecrt_master_scan_progress(
|
||||||
|
ec_master_t *master, /**< EtherCAT master */
|
||||||
|
ec_master_scan_progress_t *progress /**< Structure that will output
|
||||||
|
the progress information. */
|
||||||
|
)
|
||||||
|
{
|
||||||
|
progress->scan_index = progress->slave_count = master->getNoSlaves();
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
int ecrt_master_send(
|
int ecrt_master_send(
|
||||||
ec_master_t *master /**< EtherCAT master. */
|
ec_master_t *master /**< EtherCAT master. */
|
||||||
)
|
)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue