Destroy slaves when leaving idle mode.
authorFlorian Pose <fp@igh-essen.com>
Wed, 21 Feb 2007 13:43:47 +0000
changeset 589 492148a329e7
parent 588 ba69f7f34fbf
child 590 5801d4a4ff7d
Destroy slaves when leaving idle mode.
master/master.c
--- a/master/master.c	Wed Feb 21 13:38:02 2007 +0000
+++ b/master/master.c	Wed Feb 21 13:43:47 2007 +0000
@@ -423,6 +423,7 @@
     ec_master_eoe_stop(master);
     ec_master_thread_stop(master);
     ec_master_flush_sdo_requests(master);
+    ec_master_destroy_slaves(master);
 }
 
 /*****************************************************************************/