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:
parent
387344775b
commit
ca1ddeb919
@ -412,8 +412,10 @@ void test_speed(uint32_t duration)
|
|||||||
/* collect samples as long as timer has not expired */
|
/* collect samples as long as timer has not expired */
|
||||||
unsigned running = 1;
|
unsigned running = 1;
|
||||||
xtimer_t xt = {
|
xtimer_t xt = {
|
||||||
.target = 0,
|
.start_time = 0,
|
||||||
.long_target = 0,
|
.long_start_time = 0,
|
||||||
|
.offset = 0,
|
||||||
|
.long_offset = 0,
|
||||||
.callback = cb_speed_timeout,
|
.callback = cb_speed_timeout,
|
||||||
.arg = &running,
|
.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 */
|
/* collect samples as long as timer has not expired */
|
||||||
unsigned running = 1;
|
unsigned running = 1;
|
||||||
xtimer_t xt = {
|
xtimer_t xt = {
|
||||||
.target = 0,
|
.start_time = 0,
|
||||||
.long_target = 0,
|
.long_start_time = 0,
|
||||||
|
.offset = 0,
|
||||||
|
.long_offset = 0,
|
||||||
.callback = cb_speed_timeout,
|
.callback = cb_speed_timeout,
|
||||||
.arg = &running,
|
.arg = &running,
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user