From 2ea342dcafb66c115d01f35b3d56033a93553f89 Mon Sep 17 00:00:00 2001
From: Matthias Kolja Miehl <miehl@w3hs.net>
Date: Sun, 21 Aug 2016 17:03:28 +0200
Subject: [PATCH] tests/xtimer_now64_continuity: fix variableScope

---
 tests/xtimer_now64_continuity/main.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/tests/xtimer_now64_continuity/main.c b/tests/xtimer_now64_continuity/main.c
index c6bf741454..34e08f8b6f 100644
--- a/tests/xtimer_now64_continuity/main.c
+++ b/tests/xtimer_now64_continuity/main.c
@@ -29,11 +29,10 @@
 int main(void)
 {
     uint32_t n = ITERATIONS;
-    uint64_t now;
     uint64_t before = xtimer_now64();
 
     while(--n) {
-        now = xtimer_now64();
+        uint64_t now = xtimer_now64();
         if ((now-before) > MAXDIFF) {
             puts("TEST FAILED.");
             break;
-- 
GitLab