--- a/master/fsm_slave_scan.c Tue Jan 19 17:57:46 2010 +0100
+++ b/master/fsm_slave_scan.c Tue Jan 19 19:33:47 2010 +0100
@@ -770,19 +770,14 @@
}
if (datagram->working_counter != 1) {
- fsm->slave->error_flag = 1;
- fsm->state = ec_fsm_slave_scan_state_error;
- EC_ERR("Failed to read reg alias of slave %u: ",
- fsm->slave->ring_position);
- ec_datagram_print_wc_error(datagram);
- return;
- }
-
- slave->sii.alias = EC_READ_U16(datagram->data);
- if (slave->master->debug_level)
- EC_DBG("Alias of slave %u is %u.\n",
- slave->ring_position,slave->sii.alias);
-
+ EC_WARN("Failed to read reg alias of slave %u.\n",
+ fsm->slave->ring_position);
+ } else {
+ slave->sii.alias = EC_READ_U16(datagram->data);
+ if (slave->master->debug_level)
+ EC_DBG("Alias of slave %u is %u.\n",
+ slave->ring_position,slave->sii.alias);
+ }
if (slave->sii.mailbox_protocols & EC_MBOX_COE) {
ec_fsm_slave_scan_enter_preop(fsm);
} else {