Better outputs concerning responding slaves.
--- a/master/domain.c Thu Apr 06 09:16:25 2006 +0000
+++ b/master/domain.c Thu Apr 06 09:32:30 2006 +0000
@@ -241,8 +241,8 @@
{
if (count != domain->response_count) {
domain->response_count = count;
- EC_INFO("Domain %08X state change - %i slave%s responding.\n",
- (u32) domain, count, count == 1 ? "" : "s");
+ EC_INFO("Domain 0x%08X working counter change: %i\n",
+ (u32) domain, count);
}
}
--- a/master/master.c Thu Apr 06 09:16:25 2006 +0000
+++ b/master/master.c Thu Apr 06 09:32:30 2006 +0000
@@ -956,8 +956,8 @@
return -1;
}
- master->slaves_responding = master->slave_count;
- master->slave_states = EC_SLAVE_STATE_OP;
+ master->slaves_responding = 0;
+ master->slave_states = EC_SLAVE_STATE_INIT;
return 0;
}