We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 971fbc9 commit c00c332Copy full SHA for c00c332
intervalometer/intervalometer.js
@@ -105,7 +105,7 @@ function remap(method) { // remaps camera.ptp methods to use new driver if possi
105
}
106
if(captureOptions.noDownload) {
107
logEvent("...capture complete.");
108
- callback && callback(err, photoRes);
+ return callback && callback(err, photoRes);
109
110
logEvent("capture complete, downsizing image...");
111
setTimeout(function() {
@@ -166,6 +166,7 @@ function remap(method) { // remaps camera.ptp methods to use new driver if possi
166
writeSD();
167
} else {
168
logErr("Unable to write to SD card!", filename, raw && raw.length);
169
+ completeCapture();
170
171
172
completeCapture();
0 commit comments