]> cvs.zerfleddert.de Git - proxmark3-svn/blobdiff - armsrc/util.h
CHG: reverting use of bigbuff, because I forgot that every switch between LF/HF...
[proxmark3-svn] / armsrc / util.h
index 486f22e90f9f2698cf9fae6c45a09c6921e420cb..05364519e6c09565cf1e64f0b36dda4f4f92edd9 100644 (file)
@@ -37,6 +37,9 @@
 #ifndef BITMASK
 # define BITMASK(X) (1 << (X))
 #endif
+#ifndef ARRAYLEN
+# define ARRAYLEN(x) (sizeof(x)/sizeof((x)[0]))
+#endif
 
 void print_result(char *name, uint8_t *buf, size_t len);
 size_t nbytes(size_t nbits);
Impressum, Datenschutz