tests: remove timer after each loop
...in xtimer_msg_receive_timeout
This commit is contained in:
parent
a92f30e13f
commit
91432faccb
@ -45,7 +45,7 @@ int main(void)
|
|||||||
printf("Message received: %" PRIu16 "\n", m.type);
|
printf("Message received: %" PRIu16 "\n", m.type);
|
||||||
}
|
}
|
||||||
offset = (offset < 0) ? 1000 : -1000;
|
offset = (offset < 0) ? 1000 : -1000;
|
||||||
}
|
|
||||||
xtimer_remove(&t);
|
xtimer_remove(&t);
|
||||||
|
}
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user