From 50f5ce01c543ef2e4d780f3aed8a565b142865ea Mon Sep 17 00:00:00 2001 From: David Vazgenovich Shakaryan Date: Tue, 3 May 2022 05:56:04 -0700 Subject: web: move reading opts to opts file --- web/web_main.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'web/web_main.c') diff --git a/web/web_main.c b/web/web_main.c index 50dd318..f1a692c 100644 --- a/web/web_main.c +++ b/web/web_main.c @@ -16,10 +16,7 @@ void init() srand(time(NULL)); init_board(); svg_draw_board(); - - EM_ASM(readOpts()); - EM_ASM({updateDelay($0)}, delay_ms); - EM_ASM({updateStdev($0)}, horizontal_stdev); + opts_init(); handle_next(); } -- cgit v1.2.3-70-g09d2