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:
parent
0fbe45073c
commit
f89ad53235
|
@ -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)
|
||||
})
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue