etherlab/plc_etherlab.c
changeset 2024 08d67a0af2c1
parent 2022 c2295d311402
child 2028 5132c497918c
--- a/etherlab/plc_etherlab.c	Sun Dec 18 19:42:13 2011 +0100
+++ b/etherlab/plc_etherlab.c	Thu Dec 22 14:44:58 2011 +0900
@@ -100,6 +100,8 @@
 	if (rt_fd >= 0) {
 		rt_dev_close(rt_fd);
 	}
+	//release master
+	ecrt_release_master(master);
 }
 
 void __retrieve_%(location)s(void)