From f89ad532358a1ec85241ea7389e227e6d4c6e1f5 Mon Sep 17 00:00:00 2001 From: mmcwilliams Date: Mon, 18 Mar 2019 19:11:05 -0400 Subject: [PATCH] Caught a silly mistake. Accidentally referenced setDir instead of setExposure in intval exposure function. It's ok because that's dormant anyway. --- app/main.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/main.js b/app/main.js index 24c898b..8990812 100644 --- a/app/main.js +++ b/app/main.js @@ -667,9 +667,11 @@ cam.move = async function (frame, id) { return cam.end(cmd, id, ms) } + + cam.exposure = function (exposure, id) { let cmd = 'E' - cam.intval.setDir('camera', exposure, ms => { + cam.intval.setExposure('camera', exposure, ms => { cam.end(cmd, id, ms) }) }