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:
parent
39ecc12d9d
commit
2ea342dcaf
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user