Skip to content
Snippets Groups Projects
Commit d94e5369 authored by Kaspar Schleiser's avatar Kaspar Schleiser Committed by GitHub
Browse files

Merge pull request #5820 from makomi/xtimer_now64_continuity

tests/xtimer_now64_continuity: fix variableScope (cppcheck)
parents 8754a3da 2ea342dc
No related branches found
No related tags found
Loading
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment