Master relase code added
authorDonggu Kang <dgkang@higenmotor.com>
Thu, 22 Dec 2011 14:52:18 +0900
changeset 2025 87f428326f9b
parent 2023 f9f884cf3033
child 2028 5132c497918c
Master relase code added
etherlab/plc_etherlab.c
--- a/etherlab/plc_etherlab.c	Tue Dec 20 23:43:27 2011 +0100
+++ b/etherlab/plc_etherlab.c	Thu Dec 22 14:52:18 2011 +0900
@@ -100,6 +100,7 @@
 	if (rt_fd >= 0) {
 		rt_dev_close(rt_fd);
 	}
+	ecrt_release_master(master);
 }
 
 void __retrieve_%(location)s(void)