X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/590f8ff949af9cb55548b050e5da2481e9e469f5..8f51ddb0bd8fb7536a07966433061f03d45f65e0:/client/cmdlf.c?ds=sidebyside diff --git a/client/cmdlf.c b/client/cmdlf.c index 97cd2c93..86bb35ce 100644 --- a/client/cmdlf.c +++ b/client/cmdlf.c @@ -1,6 +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" @@ -390,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;