]> git.zerfleddert.de Git - proxmark3-svn/commitdiff
dbg: Watchdog resets while 'hw tune lf'
authorrkblackfire <rkblackfire@gmx.de>
Mon, 22 Jan 2018 17:54:29 +0000 (18:54 +0100)
committerrkblackfire <rkblackfire@gmx.de>
Mon, 22 Jan 2018 17:54:29 +0000 (18:54 +0100)
loop does not finish, u_int is always '>=0'

armsrc/appmain.c

index 6476892235facc30fbf41a32b9636656ebb59d19..3aeb4c8af2de37b0fd76f55d6c47f6b63c9368f8 100644 (file)
@@ -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;
 }
 
        return;
 }
Impressum, Datenschutz