master/fsm_coe.c
changeset 991 2548ca639b1f
parent 986 a486591ba86b
child 992 50a44cbd30af
--- a/master/fsm_coe.c	Wed Jun 11 15:29:47 2008 +0000
+++ b/master/fsm_coe.c	Wed Jun 11 15:37:38 2008 +0000
@@ -915,12 +915,7 @@
         return;
     }
 
-    if (ec_sdo_entry_init(entry, fsm->subindex, sdo)) {
-        EC_ERR("Failed to init entry!\n");
-        fsm->state = ec_fsm_coe_error;
-        return;
-    }
-
+    ec_sdo_entry_init(entry, sdo, fsm->subindex);
     entry->data_type = EC_READ_U16(data + 10);
     entry->bit_length = EC_READ_U16(data + 12);