X-Git-Url: http://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/040a7baad0fa7c2901e44e5f5f63f0918d29ae97..50193c1e3eb7f904bdc4be84618b1b045539597b:/client/cmdlf.c diff --git a/client/cmdlf.c b/client/cmdlf.c index 40bb8a21..86bb35ce 100644 --- a/client/cmdlf.c +++ b/client/cmdlf.c @@ -1,5 +1,17 @@ +//----------------------------------------------------------------------------- +// 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" @@ -389,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;