From: rkblackfire <rkblackfire@gmx.de>
Date: Mon, 22 Jan 2018 18:25:22 +0000 (+0100)
Subject: Revert "dbg: Watchdog resets while 'hw tune lf'"
X-Git-Tag: v3.1.0~83^2
X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/commitdiff_plain/f3ffd5a24f6e4488505ff1c98bc6512dff5a69ed?ds=sidebyside;hp=--cc

Revert "dbg: Watchdog resets while 'hw tune lf'"

This reverts commit fc175230f431e7e33c7628c6b31064d4f7d1e1ad.
---

f3ffd5a24f6e4488505ff1c98bc6512dff5a69ed
diff --git a/armsrc/appmain.c b/armsrc/appmain.c
index 3aeb4c8a..64768922 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=0; i <= 18; i++) LF_Results[i] = 0;
+	for (i=18; i >= 0; i--) LF_Results[i] = 0;
 
 	return;
 }