Completed master states.
authorRichard Hacker <ha@igh-essen.com>
Tue, 17 Jun 2008 14:24:33 +0000
changeset 1018 e068da25639d
parent 1017 b9224ef0546c
child 1019 ed69d862ff44
Completed master states.
master/master.c
--- a/master/master.c	Tue Jun 17 13:45:30 2008 +0000
+++ b/master/master.c	Tue Jun 17 14:24:33 2008 +0000
@@ -1372,6 +1372,8 @@
 void ecrt_master_state(const ec_master_t *master, ec_master_state_t *state)
 {
     state->slaves_responding = master->fsm.slaves_responding;
+    state->slave_states = master->fsm.slave_states;
+    state->link_up = master->main_device.link_state;
 }
 
 /*****************************************************************************/