Add ecrt_master_scan_progress to fake lib.

This commit is contained in:
Bjarne von Horn 2024-07-26 10:45:54 +02:00
parent 3e3b938c2f
commit 185674e2b4
1 changed files with 10 additions and 0 deletions

View File

@ -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. */
) )