From ebe46f7274c8b2436157e2321e36d930dba5dd3a Mon Sep 17 00:00:00 2001
From: Florian Pose <fp@igh-essen.com>
Date: Fri, 27 Oct 2006 15:01:10 +0000
Subject: [PATCH] minimal example with SDO configs.

---
 examples/mini/mini.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/examples/mini/mini.c b/examples/mini/mini.c
index 1edf41b8..736528ea 100644
--- a/examples/mini/mini.c
+++ b/examples/mini/mini.c
@@ -125,7 +125,7 @@ void release_lock(void *data)
 
 int __init init_mini_module(void)
 {
-#if 0
+#if 1
     ec_slave_t *slave;
 #endif
 
@@ -166,8 +166,8 @@ int __init init_mini_module(void)
     }
 #endif
 
-#if 0
-    if (!(slave = ecrt_master_get_slave(master, "3")))
+#if 1
+    if (!(slave = ecrt_master_get_slave(master, "2")))
         goto out_release_master;
 
     if (ecrt_slave_conf_sdo8(slave, 0x4061, 1, 0))
-- 
GitLab