aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Chemeris <Alexander.Chemeris@gmail.com>2013-08-29 14:05:13 +0400
committerAlexander Chemeris <Alexander.Chemeris@gmail.com>2013-08-29 14:05:13 +0400
commit71392fbc7b6aa36bb5cc53bb5d3ea9116b1d9d9d (patch)
treed0a02ee2b0d83cb14b5a9dd40f6f385aa786b407
parent78d7fa0f6ddfbd7f5ef36c8063c1d68091364573 (diff)
Debug: Store thread IDs by default.
-rw-r--r--Transceiver52M/RTMD.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/Transceiver52M/RTMD.h b/Transceiver52M/RTMD.h
index 09d1dfe..fe5d21a 100644
--- a/Transceiver52M/RTMD.h
+++ b/Transceiver52M/RTMD.h
@@ -60,16 +60,16 @@ typedef struct RTMD_Node {
} RTMD_Node_t;
-# define RTMD_VAL(a, v) RTMD_SetInt((a), __LINE__, (v))
-# define RTMD_SET(a) RTMD_SetInt((a), __LINE__, 1)
-# define RTMD_CLEAR(a) RTMD_SetInt((a), __LINE__, 0)
-# define RTMD_PULSE(a) ( RTMD_SET(a), RTMD_CLEAR(a))
-
-# define RTMD_TH_NAME(a) RTMD_SetThreadName(a)
-# define RTMD_TH_VAL(a, v) RTMD_SetIntThread((a), __LINE__, (v))
-# define RTMD_TH_SET(a) RTMD_SetIntThread((a), __LINE__, 1)
-# define RTMD_TH_CLEAR(a) RTMD_SetIntThread((a), __LINE__, 0)
-# define RTMD_TH_PULSE(a) ( RTMD_TH_SET(a), RTMD_TH_CLEAR(a))
+//# define RTMD_VAL(a, v) RTMD_SetInt((a), __LINE__, (v))
+//# define RTMD_SET(a) RTMD_SetInt((a), __LINE__, 1)
+//# define RTMD_CLEAR(a) RTMD_SetInt((a), __LINE__, 0)
+//# define RTMD_PULSE(a) ( RTMD_SET(a), RTMD_CLEAR(a))
+
+# define RTMD_THREAD_NAME(a) RTMD_SetThreadName(a)
+# define RTMD_VAL(a, v) RTMD_SetIntThread((a), __LINE__, (v))
+# define RTMD_SET(a) RTMD_SetIntThread((a), __LINE__, 1)
+# define RTMD_CLEAR(a) RTMD_SetIntThread((a), __LINE__, 0)
+# define RTMD_PULSE(a) ( RTMD_SET(a), RTMD_CLEAR(a))
# define RTMD_INIT(x) RTMD_InitStorage((x))
# define RTMD_FLUSH(x) RTMD_FlushStorage((x))