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

tests/rng: remove explicit zeroing of xtimer members

This commit is contained in:
Kaspar Schleiser 2020-01-27 15:58:20 +01:00
parent 0228553384
commit c1f93647a9

View File

@ -412,10 +412,6 @@ void test_speed(uint32_t duration)
/* collect samples as long as timer has not expired */
unsigned running = 1;
xtimer_t xt = {
.start_time = 0,
.long_start_time = 0,
.offset = 0,
.long_offset = 0,
.callback = cb_speed_timeout,
.arg = &running,
};
@ -446,10 +442,6 @@ void test_speed_range(uint32_t duration, uint32_t low_thresh, uint32_t high_thre
/* collect samples as long as timer has not expired */
unsigned running = 1;
xtimer_t xt = {
.start_time = 0,
.long_start_time = 0,
.offset = 0,
.long_offset = 0,
.callback = cb_speed_timeout,
.arg = &running,
};