Caught a silly mistake. Accidentally referenced setDir instead of setExposure in intval exposure function. It's ok because that's dormant anyway.

This commit is contained in:
mmcwilliams 2019-03-18 19:11:05 -04:00
parent 0fbe45073c
commit f89ad53235
1 changed files with 3 additions and 1 deletions

View File

@ -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)
})
}