From: rkblackfire Date: Mon, 22 Jan 2018 17:54:29 +0000 (+0100) Subject: dbg: Watchdog resets while 'hw tune lf' X-Git-Tag: v3.1.0~83^2~2 X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/commitdiff_plain/fc175230f431e7e33c7628c6b31064d4f7d1e1ad?ds=sidebyside;hp=-c dbg: Watchdog resets while 'hw tune lf' loop does not finish, u_int is always '>=0' --- fc175230f431e7e33c7628c6b31064d4f7d1e1ad diff --git a/armsrc/appmain.c b/armsrc/appmain.c index 64768922..3aeb4c8a 100644 --- a/armsrc/appmain.c +++ b/armsrc/appmain.c @@ -205,7 +205,7 @@ void MeasureAntennaTuningLfOnly(int *vLf125, int *vLf134, int *peakf, int *peakv } } - for (i=18; i >= 0; i--) LF_Results[i] = 0; + for (i=0; i <= 18; i++) LF_Results[i] = 0; return; }