]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - include/common.h
fix LED signalling in hf 15 snoop and hf 14a snoop (#797)
[proxmark3-svn] / include / common.h
index feed109c2dfe3faa216edb89fd0852100b542896..998db64dccc7820493dbb3df1042562e7b613ef1 100644 (file)
@@ -24,6 +24,10 @@ typedef unsigned char byte_t;
 #ifndef MAX
 # define MAX(a, b) (((a) > (b)) ? (a) : (b))
 #endif
+#ifndef ABS
+# define ABS(a) ( ((a)<0) ? -(a) : (a) )
+#endif
+
 
 #define RAMFUNC __attribute((long_call, section(".ramfunc")))
 
Impressum, Datenschutz