]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - include/common.h
fixed a bug in iso14443a.c which had been introduced with the big frame and parity...
[proxmark3-svn] / include / common.h
index 13daa86eb94b35085bb622ce757c5e292255cc61..feed109c2dfe3faa216edb89fd0852100b542896 100644 (file)
 #include <at91sam7s512.h>
 typedef unsigned char byte_t;
 
+#ifndef MIN
+# define MIN(a, b) (((a) < (b)) ? (a) : (b))
+#endif
+#ifndef MAX
+# define MAX(a, b) (((a) > (b)) ? (a) : (b))
+#endif
+
+#define RAMFUNC __attribute((long_call, section(".ramfunc")))
+
 #endif
Impressum, Datenschutz