]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - armsrc/util.c
Removed some crap-scripts for testing
[proxmark3-svn] / armsrc / util.c
index 3870a6c68f6a98fd1c1c08bfba760a8229fd033d..f2298290246b2174101f9175e3df4d58e768dd9f 100644 (file)
 #include "util.h"
 #include "string.h"
 
+size_t nbytes(size_t nbits) {
+       return (nbits/8)+((nbits%8)>0);
+}
+
 uint32_t SwapBits(uint32_t value, int nrbits) {
        int i;
        uint32_t newvalue = 0;
Impressum, Datenschutz