- added detection of ethercat dev files
- added check message for ethercat
- fixed typo
- removed unused var