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

tests/bench_timers: remove explicit zeroing of xtimer members

This commit is contained in:
Kaspar Schleiser 2020-01-27 15:59:01 +01:00
parent c1f93647a9
commit 9800b7bf2c

View File

@ -375,18 +375,10 @@ static void run_test(test_ctx_t *ctx, uint32_t interval, unsigned int variant)
interval += TEST_MIN;
unsigned int interval_ref = TIM_TEST_TO_REF(interval);
xtimer_t xt = {
.start_time = 0,
.long_start_time = 0,
.offset = 0,
.long_offset = 0,
.callback = cb,
.arg = ctx,
};
xtimer_t xt_parallel = {
.start_time = 0,
.long_start_time = 0,
.offset = 0,
.long_offset = 0,
.callback = nop,
.arg = NULL,
};