]> cvs.zerfleddert.de Git - proxmark3-svn/blobdiff - client/cmddata.c
FIX: hf mfu dump, now reads correct memory from device-side.
[proxmark3-svn] / client / cmddata.c
index 7514e4282b4474ade64ac3ad1501729c9a8bd89d..b9069bc19cb82b150b05de62345a188a56e5f6aa 100644 (file)
@@ -1892,8 +1892,7 @@ int getSamples(const char *Cmd, bool silent)
                PrintAndLog("Unpacking...");
                BitstreamOut bout = { got, bits_per_sample * n,  0};
                int j =0;
-               //for (j = 0; j * bits_per_sample < n * 8 && j < sizeof(GraphBuffer); j++) {
-                       for (j = 0; j * bits_per_sample < n * 8 && j < n; j++) {
+               for (j = 0; j * bits_per_sample < n * 8 && j < n; j++) {
                        uint8_t sample = getByte(bits_per_sample, &bout);
                        GraphBuffer[j] = ((int) sample )- 128;
                }
Impressum, Datenschutz