diff options
Diffstat (limited to 'web/web_opts.c')
-rw-r--r-- | web/web_opts.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/web/web_opts.c b/web/web_opts.c index 1188232..0f37bba 100644 --- a/web/web_opts.c +++ b/web/web_opts.c @@ -8,6 +8,13 @@ int delay_ms = 1000; +void opts_init() +{ + EM_ASM(readOpts()); + EM_ASM({updateDelay($0)}, delay_ms); + EM_ASM({updateStdev($0)}, horizontal_stdev); +} + EMSCRIPTEN_KEEPALIVE void set_delay(int delay) { |