summaryrefslogtreecommitdiff
path: root/def.h
diff options
context:
space:
mode:
Diffstat (limited to 'def.h')
-rwxr-xr-x[-rw-r--r--]def.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/def.h b/def.h
index 0c69f11..cb007f5 100644..100755
--- a/def.h
+++ b/def.h
@@ -25,6 +25,11 @@
#include <stdint.h>
+#define CAN_WAIT_TENSION
+#define MONITOR_TENSIONS
+
+#define ARRAY_SIZE(arr) (sizeof (arr) / sizeof (arr[0]))
+
#define SetBit(Port, Mask) ((Port) |= (Mask))
#define ClrBit(Port, Mask) ((Port) &= (~(Mask)))