Fix GPIO limits
[matches/MCTX3420.git] / server / common.h
index 97290d2..0092598 100644 (file)
 #define _BSD_SOURCE
 #define _XOPEN_SOURCE 600
 
+/** Determine if we're running on the BBB **/
+#ifdef __arm__
+#define _BBB
+#endif
+
 /** The current API version **/
 #define API_VERSION 0
 
@@ -34,4 +39,6 @@
 #define TIMEVAL_DIFF(tv1, tv2) ((tv1).tv_sec - (tv2).tv_sec + 1e-6 * ((tv1).tv_usec - (tv2).tv_usec))
 
 
+
+
 #endif //_COMMON_H

UCC git Repository :: git.ucc.asn.au