aboutsummaryrefslogtreecommitdiff
path: root/example/debug/odp_debug.c
diff options
context:
space:
mode:
Diffstat (limited to 'example/debug/odp_debug.c')
-rw-r--r--example/debug/odp_debug.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/example/debug/odp_debug.c b/example/debug/odp_debug.c
index 5c0beef69..88f5d3cdb 100644
--- a/example/debug/odp_debug.c
+++ b/example/debug/odp_debug.c
@@ -409,7 +409,7 @@ static int timer_debug(void)
if (timer_res_capa.res_ns > res)
res = timer_res_capa.res_ns;
- memset(&timer_param, 0, sizeof(timer_param));
+ odp_timer_pool_param_init(&timer_param);
timer_param.res_ns = res;
timer_param.min_tmo = max_tmo / 10;
timer_param.max_tmo = max_tmo;