X-Git-Url: http://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/393c3ef933553e628635590ca2b8237d07e9e0e3..245e844e80045bc566331c0e59a75e19d15e5bd8:/client/cmdlf.c diff --git a/client/cmdlf.c b/client/cmdlf.c index ceb84e3e..86bb35ce 100644 --- a/client/cmdlf.c +++ b/client/cmdlf.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 commands +//----------------------------------------------------------------------------- + #include #include #include @@ -391,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;