Skip to content
Snippets Groups Projects
Commit ebe46f72 authored by Florian Pose's avatar Florian Pose
Browse files

minimal example with SDO configs.

parent f0f477a2
No related branches found
No related tags found
No related merge requests found
...@@ -125,7 +125,7 @@ void release_lock(void *data) ...@@ -125,7 +125,7 @@ void release_lock(void *data)
int __init init_mini_module(void) int __init init_mini_module(void)
{ {
#if 0 #if 1
ec_slave_t *slave; ec_slave_t *slave;
#endif #endif
...@@ -166,8 +166,8 @@ int __init init_mini_module(void) ...@@ -166,8 +166,8 @@ int __init init_mini_module(void)
} }
#endif #endif
#if 0 #if 1
if (!(slave = ecrt_master_get_slave(master, "3"))) if (!(slave = ecrt_master_get_slave(master, "2")))
goto out_release_master; goto out_release_master;
if (ecrt_slave_conf_sdo8(slave, 0x4061, 1, 0)) if (ecrt_slave_conf_sdo8(slave, 0x4061, 1, 0))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment