Spell exposure right, ya dingus.

This commit is contained in:
mmcwilliams 2017-11-23 09:21:56 -05:00
parent bdac1aa50c
commit 320d3fe02f
1 changed files with 2 additions and 2 deletions

View File

@ -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
} }
} }
/** /**