From 9ea94a3ac33559c956946a5c49aa2536b218e0fc Mon Sep 17 00:00:00 2001 From: David Vazgenovich Shakaryan Date: Thu, 5 May 2022 02:08:11 -0700 Subject: web: clean up scoreboard and dom functions --- web/web_opts.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'web/web_opts.c') diff --git a/web/web_opts.c b/web/web_opts.c index f255a83..553e05d 100644 --- a/web/web_opts.c +++ b/web/web_opts.c @@ -69,7 +69,7 @@ void opts_init() char buf[64]; sprintf(buf, "%d", delay_ms); - dom_elem_set_value("#delay", buf); + dom_set_value("#delay", buf); int len = sprintf(buf, "%4.2f", horizontal_stdev); char *dot = strchr(buf, '.'); @@ -80,7 +80,7 @@ void opts_init() *ptr = 0; } } - dom_elem_set_value("#stdev", buf); + dom_set_value("#stdev", buf); } void store_opt(char *opt, char *val) -- cgit v1.2.3-70-g09d2