mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-18 12:52:44 +01:00
tests/bench_timers: remove explicit zeroing of xtimer members
This commit is contained in:
parent
c1f93647a9
commit
9800b7bf2c
@ -375,18 +375,10 @@ static void run_test(test_ctx_t *ctx, uint32_t interval, unsigned int variant)
|
|||||||
interval += TEST_MIN;
|
interval += TEST_MIN;
|
||||||
unsigned int interval_ref = TIM_TEST_TO_REF(interval);
|
unsigned int interval_ref = TIM_TEST_TO_REF(interval);
|
||||||
xtimer_t xt = {
|
xtimer_t xt = {
|
||||||
.start_time = 0,
|
|
||||||
.long_start_time = 0,
|
|
||||||
.offset = 0,
|
|
||||||
.long_offset = 0,
|
|
||||||
.callback = cb,
|
.callback = cb,
|
||||||
.arg = ctx,
|
.arg = ctx,
|
||||||
};
|
};
|
||||||
xtimer_t xt_parallel = {
|
xtimer_t xt_parallel = {
|
||||||
.start_time = 0,
|
|
||||||
.long_start_time = 0,
|
|
||||||
.offset = 0,
|
|
||||||
.long_offset = 0,
|
|
||||||
.callback = nop,
|
.callback = nop,
|
||||||
.arg = NULL,
|
.arg = NULL,
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user