Skip to content

Commit

Permalink
allow auto shutter in fixed exposure mode
Browse files Browse the repository at this point in the history
  • Loading branch information
elijahparker committed Jan 11, 2019
1 parent fea070c commit bc4675c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions intervalometer/intervalometer.js
Original file line number Diff line number Diff line change
Expand Up @@ -1267,12 +1267,12 @@ intervalometer.validate = function(program) {
results.errors.push({param:false, reason: "unable to read camera settings."});
} else {

if(!settingsDetails.iso || settingsDetails.iso.ev == null) {
if((!settingsDetails.iso || settingsDetails.iso.ev == null) && program.rampMode != 'fixed') {
console.log("VAL: Error: invalid ISO setting", settingsDetails.iso);
results.errors.push({param:false, reason: "invalid ISO setting on camera."});
}

if(!settingsDetails.shutter || settingsDetails.shutter.ev == null) {
if((!settingsDetails.shutter || settingsDetails.shutter.ev == null) && program.rampMode != 'fixed') {
console.log("VAL: Error: invalid shutter setting", settingsDetails.shutter);
results.errors.push({param:false, reason: "invalid shutter setting on camera."});
}
Expand Down

0 comments on commit bc4675c

Please sign in to comment.