Skip to content

Commit c00c332

Browse files
committed
fuji hdr fix
1 parent 971fbc9 commit c00c332

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

intervalometer/intervalometer.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ function remap(method) { // remaps camera.ptp methods to use new driver if possi
105105
}
106106
if(captureOptions.noDownload) {
107107
logEvent("...capture complete.");
108-
callback && callback(err, photoRes);
108+
return callback && callback(err, photoRes);
109109
}
110110
logEvent("capture complete, downsizing image...");
111111
setTimeout(function() {
@@ -166,6 +166,7 @@ function remap(method) { // remaps camera.ptp methods to use new driver if possi
166166
writeSD();
167167
} else {
168168
logErr("Unable to write to SD card!", filename, raw && raw.length);
169+
completeCapture();
169170
}
170171
} else {
171172
completeCapture();

0 commit comments

Comments
 (0)