]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - client/cmdlfem4x.c
Makefile: add explicit target to compile client only
[proxmark3-svn] / client / cmdlfem4x.c
index fea4bd2960409118d222f5127a697d1010449b2f..37355ef267a0e819a535a73223494e6fbbea73bb 100644 (file)
@@ -9,6 +9,7 @@
 //-----------------------------------------------------------------------------
 
 #include <stdio.h>
+#include <string.h>
 #include "proxusb.h"
 #include "ui.h"
 #include "graph.h"
@@ -281,6 +282,7 @@ int CmdEM4x50Read(const char *Cmd)
 
   high= low= 0;
   clock= 64;
+  memset(tmpbuff, 0, MAX_GRAPH_TRACE_LEN / 64);
 
   /* first get high and low values */
   for (i = 0; i < GraphTraceLen; i++)
Impressum, Datenschutz