mirror of
https://gitlab.com/etherlab.org/ethercat.git
synced 2026-08-18 00:57:23 +08:00
Add ecrt_master_scan_progress to fake lib.
This commit is contained in:
@@ -287,6 +287,16 @@ int ecrt_master_receive(
|
||||
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(
|
||||
ec_master_t *master /**< EtherCAT master. */
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user