Spell exposure right, ya dingus.
This commit is contained in:
parent
bdac1aa50c
commit
320d3fe02f
|
@ -345,7 +345,7 @@ intval.setCounter = function (val = 0) {
|
||||||
* @param {?integer} [exposure="null"] (optional) Exposure time, 0 = minimum
|
* @param {?integer} [exposure="null"] (optional) Exposure time, 0 = minimum
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
intval.frame = function (dir = null, expsure = null, cb = () => {}) {
|
intval.frame = function (dir = null, exposure = null, cb = () => {}) {
|
||||||
if (dir === true || (dir === null && intval._state.frame.dir === true) ) {
|
if (dir === true || (dir === null && intval._state.frame.dir === true) ) {
|
||||||
dir = true
|
dir = true
|
||||||
} else {
|
} else {
|
||||||
|
@ -402,7 +402,7 @@ intval.frame = function (dir = null, expsure = null, cb = () => {}) {
|
||||||
}
|
}
|
||||||
intval._state.frame.current = {
|
intval._state.frame.current = {
|
||||||
dir: dir,
|
dir: dir,
|
||||||
exposure: time
|
exposure: exposure
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue