X-Git-Url: http://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/ab2fd3d68b5670b5c7550f2e98f9c8f8909a6a6e..9cc7c4b4d13702122da3b7306391f411c030dc27:/client/cmdlfem4x.c diff --git a/client/cmdlfem4x.c b/client/cmdlfem4x.c index 9b40d7c0..8bb4d109 100644 --- a/client/cmdlfem4x.c +++ b/client/cmdlfem4x.c @@ -1,3 +1,13 @@ +//----------------------------------------------------------------------------- +// Copyright (C) 2010 iZsh +// +// This code is licensed to you under the terms of the GNU GPL, version 2 or, +// at your option, any later version. See the LICENSE.txt file for the text of +// the license. +//----------------------------------------------------------------------------- +// Low frequency EM4x commands +//----------------------------------------------------------------------------- + #include #include "proxusb.h" #include "ui.h" @@ -271,6 +281,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++)