OpenEtherCATsociety / SOES

Simple Open Source EtherCAT Slave
Other
578 stars 249 forks source link

Only read SM Status and Activate in the dedicated functions #41

Closed nakarlsson closed 6 years ago

nakarlsson commented 6 years ago

The follwing fix solved two failing CTT tests when porting SOES to the TI family. It also make the API cleaner since the function only does what is suppose to, not implicitly something else as well.

TF1100 Data Link Layer - Mailbox Read Serice Repeat 2 TF-1200 EtherCAT State Machine - #33 SafeOp-> Init, ErrFlag = 0, SmSett 0 or SmSett 1not match

CTT have been run on TI K2GICE and XMC43relase

nakarlsson commented 6 years ago

Done