]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - client/cmdlfem4x.c
Revert "Comms refactor (prerequisite of libproxmark work) (#371)"
[proxmark3-svn] / client / cmdlfem4x.c
index 013c2f3fb427be478c318ff365b44d9e4f45692f..f5dfee35556134133479f0bb49328db686a983de 100644 (file)
@@ -606,7 +606,7 @@ int EM4x50Read(const char *Cmd, bool verbose)
        char tmp2[20];
        int phaseoff;
        high = low = 0;
-       memset(tmpbuff, 0, MAX_GRAPH_TRACE_LEN / 64);
+       memset(tmpbuff, 0, sizeof(tmpbuff));
 
        // get user entry if any
        sscanf(Cmd, "%i %i", &clk, &invert);
Impressum, Datenschutz