1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-24 22:13:52 +01:00

tests/xtimer_now64_continuity: fix variableScope

This commit is contained in:
Matthias Kolja Miehl 2016-08-21 17:03:28 +02:00
parent 39ecc12d9d
commit 2ea342dcaf

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;