aboutsummaryrefslogtreecommitdiff
path: root/Source/System.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/System.h')
-rw-r--r--Source/System.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/System.h b/Source/System.h
index a5417b1..12c0079 100644
--- a/Source/System.h
+++ b/Source/System.h
@@ -13,6 +13,8 @@
#define TIMER_PRESCALER_1_SECOND 10
#define TIMER_PRESCALER_1_MINUTE (TIMER_PRESCALER_1_SECOND * 60)
+#define ARRAY_SIZE(x) (sizeof ((x)) / sizeof ((x[0])))
+
/* **************************************
* Global Prototypes *
* **************************************/