Caught nagging bug, will calculate timing if default time is set.

This commit is contained in:
mmcw-dev 2017-10-23 00:30:08 -04:00
parent 29800a7b45
commit c508c6e693
2 changed files with 2 additions and 2 deletions

View File

@ -307,7 +307,7 @@ null==d?void 0:d))},attrHooks:{type:{set:function(a,b){if(!o.radioValue&&"radio"
var speed;
var corrected;
var str;
if ((typeof exposure !== 'undefined' && exposure !== 0) || exposure > BOLEX.expected) {
if ((typeof exposure !== 'undefined' && exposure !== 0) || exposure >= BOLEX.expected) {
//if exposure is explicitly set
fraction = exposure / 1000;
speed = fraction;

View File

@ -258,7 +258,7 @@ intval.setDir = function (val = true) {
intval.setExposure = function (val = 0) {
intval._state.frame.exposure = val
log.info('setTime', { exposure : val })
log.info('setExposure', { exposure : val })
}
intval.setDelay = function (val = 0) {