From fc175230f431e7e33c7628c6b31064d4f7d1e1ad Mon Sep 17 00:00:00 2001 From: rkblackfire Date: Mon, 22 Jan 2018 18:54:29 +0100 Subject: [PATCH] dbg: Watchdog resets while 'hw tune lf' loop does not finish, u_int is always '>=0' --- armsrc/appmain.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.39.5