Allow CoE requests, even if slave has error flag set.
authorFlorian Pose <fp@igh-essen.com>
Fri, 03 Nov 2006 12:17:22 +0000
changeset 475 e712a42446af
parent 474 9850c3fb3865
child 476 fd7c0ee645f8
Allow CoE requests, even if slave has error flag set.
master/fsm.c
--- a/master/fsm.c	Fri Nov 03 10:00:08 2006 +0000
+++ b/master/fsm.c	Fri Nov 03 12:17:22 2006 +0000
@@ -354,8 +354,7 @@
                 EC_DBG("Processing SDO request...\n");
             slave = master->sdo_request->sdo->slave;
             if (slave->current_state == EC_SLAVE_STATE_INIT
-                || !slave->online
-                || slave->error_flag) {
+                || !slave->online) {
                 EC_ERR("Failed to process SDO request, slave %i not ready.\n",
                        slave->ring_position);
                 master->sdo_request->return_code = -1;