]> cvs.zerfleddert.de Git - proxmark3-svn/blobdiff - client/cmdlf.c
Merge pull request #362 from merlokk/master
[proxmark3-svn] / client / cmdlf.c
index 28b758b6fbb2ca7b895c838d3f7fb4b0864fb877..6a5a2fbe927e5a74dbaae87c9a74f5fea7c770fd 100644 (file)
@@ -350,7 +350,8 @@ bool lf_read(bool silent, uint32_t samples) {
                        return false;
                }
        }
-       getSamples(resp.arg[0], silent);
+       // resp.arg[0] is bits read not bytes read.
+       getSamples(resp.arg[0]/8, silent);
 
        return true;
 }
Impressum, Datenschutz