Skip to content

Commit

Permalink
fuji hdr fix
Browse files Browse the repository at this point in the history
  • Loading branch information
elijahparker committed Jul 1, 2019
1 parent 971fbc9 commit c00c332
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion intervalometer/intervalometer.js
Expand Up @@ -105,7 +105,7 @@ function remap(method) { // remaps camera.ptp methods to use new driver if possi
}
if(captureOptions.noDownload) {
logEvent("...capture complete.");
callback && callback(err, photoRes);
return callback && callback(err, photoRes);
}
logEvent("capture complete, downsizing image...");
setTimeout(function() {
Expand Down Expand Up @@ -166,6 +166,7 @@ function remap(method) { // remaps camera.ptp methods to use new driver if possi
writeSD();
} else {
logErr("Unable to write to SD card!", filename, raw && raw.length);
completeCapture();
}
} else {
completeCapture();
Expand Down

0 comments on commit c00c332

Please sign in to comment.