Added __DEBUG global var to eventually change PLC code execution
authoretisserant
Sun, 07 Sep 2008 10:08:11 +0200
changeset 140 8c0366d41e84
parent 139 668a54686827
child 141 d2dc99c319b6
Added __DEBUG global var to eventually change PLC code execution
lib/iec_std_lib.h
--- a/lib/iec_std_lib.h	Thu Aug 21 16:08:19 2008 +0200
+++ b/lib/iec_std_lib.h	Sun Sep 07 10:08:11 2008 +0200
@@ -44,6 +44,7 @@
 
 #define __TIME_CMP(t1, t2) (t2.tv_sec == t1.tv_sec ? t1.tv_nsec - t2.tv_nsec : t1.tv_sec - t2.tv_sec) 
 extern TIME __CURRENT_TIME;
+extern BOOL __DEBUG;
 
 #define __STR_CMP(str1, str2) memcmp((char*)&str1.body,(char*)&str2.body, str1.len < str2.len ? str1.len : str2.len)