1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

Merge pull request #5820 from makomi/xtimer_now64_continuity

tests/xtimer_now64_continuity: fix variableScope (cppcheck)
This commit is contained in:
Kaspar Schleiser 2016-09-05 15:33:21 +02:00 committed by GitHub
commit d94e53690b

View File

@ -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;