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

tests/rng: reflecting xtimer's member change

This commit is contained in:
Hyungsin 2020-01-10 10:07:56 -08:00
parent 387344775b
commit ca1ddeb919

View File

@ -412,8 +412,10 @@ void test_speed(uint32_t duration)
/* collect samples as long as timer has not expired */
unsigned running = 1;
xtimer_t xt = {
.target = 0,
.long_target = 0,
.start_time = 0,
.long_start_time = 0,
.offset = 0,
.long_offset = 0,
.callback = cb_speed_timeout,
.arg = &running,
};
@ -444,8 +446,10 @@ 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 = {
.target = 0,
.long_target = 0,
.start_time = 0,
.long_start_time = 0,
.offset = 0,
.long_offset = 0,
.callback = cb_speed_timeout,
.arg = &running,
};