- When enabling or disabling D.C., SOEM internal ec_slavet attributes
will be updated to reflect the new settings
- Changed CyclShift parameter to a signed integer to conform with the
rest of code
- Corrected some spelling mistakes
`ifname` as the argument of `ec_init` and related functions is not
changed, and therefore can be safely retyped to `const char *`. This
allows using string literals. For example:
ec_init(argc > 1 ? argv[1] : "eth0");
Signed-off-by: Shahbaz Youssefi <syoussefi@kinova.ca>
This way, applications don't need to know the details of every header
file that exists in the API. With a simple:
#include <ethercat.h>
they would get everything. This is specially important because the
order of including the header files is important!
Signed-off-by: Shahbaz Youssefi <syoussefi@kinova.ca>
This allows the header files to be installed, say in /usr/include/soem
and then included with:
#include <soem/ethercattype.h>
without having to add -I/usr/include/soem.
Signed-off-by: Shahbaz Youssefi <syoussefi@kinova.ca>