OpenEtherCATsociety / SOEM

Simple Open Source EtherCAT Master
Other
1.23k stars 653 forks source link

Fix poor accuracy due to repeat open and close of NIC. #807

Open sueastward opened 1 month ago

sueastward commented 1 month ago

use case

ec_init ec_config_init //timeBeginPeriod(1) call once //do something close_nic //timeEndPeriod(1) //continue ec_init ec_config_init // timeBeginPeriod(1) will not called //poor accuracy close_nic //timeEndPeriod(1)

This fix resolves this issue.