aboutsummaryrefslogtreecommitdiff
path: root/arm-probe
diff options
context:
space:
mode:
authorAndy Green <andy.green@linaro.org>2012-10-06 21:10:56 +0800
committerAndy Green <andy.green@linaro.org>2012-10-06 21:10:56 +0800
commit9c4359584d8dc19e14608bcb809d6d5253957963 (patch)
tree87c1994729d7354898d6013b73ffe874c04f31a1 /arm-probe
parent4198b5c4b498ef8c27949431466a0f86fe26d13f (diff)
reset simple average at trigger
Signed-off-by: Andy Green <andy.green@linaro.org>
Diffstat (limited to 'arm-probe')
-rw-r--r--arm-probe/arm-probe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arm-probe/arm-probe.c b/arm-probe/arm-probe.c
index b730d40..e2e3466 100644
--- a/arm-probe/arm-probe.c
+++ b/arm-probe/arm-probe.c
@@ -449,7 +449,7 @@ int main(int argc, char *argv[])
n = poll(aep_context.pollfds, aep_context.count_pollfds, aep_context.poll_timeout_ms);
if (n < 0)
- return -1;
+ loop = 0;
for (n = 0; n < aep_context.count_pollfds; n++)
if (aep_context.pollfds[n].revents)