X-Git-Url: http://cvs.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/37239a7c4b0d0db437e8aa5f1941280a74cd327e..ab8b654efa9524b494014efd35ac426aaa42884b:/client/cmdlf.c diff --git a/client/cmdlf.c b/client/cmdlf.c index 80a9dc26..86bb35ce 100644 --- a/client/cmdlf.c +++ b/client/cmdlf.c @@ -1,10 +1,23 @@ +//----------------------------------------------------------------------------- +// 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 commands +//----------------------------------------------------------------------------- + #include +#include #include +#include #include "proxusb.h" #include "data.h" #include "graph.h" #include "ui.h" #include "cmdparser.h" +#include "cmdmain.h" #include "cmddata.h" #include "cmdlf.h" #include "cmdlfhid.h" @@ -388,7 +401,7 @@ int CmdVchDemod(const char *Cmd) bits[256] = '\0'; int worst = INT_MAX; - int worstPos; + int worstPos = 0; for (i = 0; i < 2048; i += 8) { int sum = 0;