examples/mini/mini.c
branchstable-1.1
changeset 1719 42ed27ae6785
parent 1716 9440f4ff25c7
child 416 4f007cd2a79d
child 1732 1cc865ba17c2
--- a/examples/mini/mini.c	Wed Aug 09 15:14:29 2006 +0000
+++ b/examples/mini/mini.c	Fri Sep 01 12:35:41 2006 +0000
@@ -63,8 +63,8 @@
 uint8_t k_stat;
 
 ec_pdo_reg_t domain1_pdos[] = {
-    {"1", Beckhoff_EL4132_Output1, &r_ana_out},
-    {"8", Beckhoff_EL5001_Value, NULL},
+    {"2", Beckhoff_EL4132_Output1, &r_ana_out},
+    {"3", Beckhoff_EL5001_Value, NULL},
     {}
 };
 
@@ -148,7 +148,7 @@
         goto out_release_master;
     }
 
-    if (!(slave = ecrt_master_get_slave(master, "8")))
+    if (!(slave = ecrt_master_get_slave(master, "3")))
         goto out_release_master;
 
     if (ecrt_slave_conf_sdo8(slave, 0x4061, 1, 0))