targets/plc_debug.c
changeset 1800 1711339585ce
parent 1677 db05cb9e0439
child 2172 9fa5be79bb77
--- a/targets/plc_debug.c	Tue Sep 12 14:22:17 2017 +0300
+++ b/targets/plc_debug.c	Tue Sep 12 16:49:35 2017 +0300
@@ -10,6 +10,16 @@
  *  
  * 
  * */
+
+#ifdef TARGET_DEBUG_DISABLE
+
+void __init_debug    (void){}
+void __cleanup_debug (void){}
+void __retrieve_debug(void){}
+void __publish_debug (void){}
+
+#else
+
 #include "iec_types_all.h"
 #include "POUS.h"
 /*for memcpy*/
@@ -328,3 +338,5 @@
     return wait_error;
 }
 
+#endif
+