Master release code added
authorDonggu Kang <dgkang@higenmotor.com>
Thu, 22 Dec 2011 14:44:58 +0900
changeset 2024 08d67a0af2c1
parent 2022 c2295d311402
child 2027 e579bd6faa87
Master release code added
etherlab/plc_etherlab.c
--- 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)