diff --git a/tests/rng/test.c b/tests/rng/test.c index c09414b52c..bd2989a59f 100644 --- a/tests/rng/test.c +++ b/tests/rng/test.c @@ -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, };