Skip to content

Commit

Permalink
memory management
Browse files Browse the repository at this point in the history
  • Loading branch information
elijahparker committed Oct 11, 2019
1 parent b27d01f commit 4a0fa85
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -1562,6 +1562,7 @@ if (VIEW_HARDWARE) {
ui.status("liveview error");
}
});
lists.fixedApertureEv = core.currentProgram.manualAperture;
console.log("(exposure) started liveview, getting settings...");
inputs.on('B', captureButtonHandler);
core.getSettings(function() {
Expand Down Expand Up @@ -2477,6 +2478,7 @@ if (VIEW_HARDWARE) {
liveviewOnApp = false;
inputs.on('B', captureButtonHandler);
console.log("(capture) started liveview, getting settings...");
lists.fixedApertureEv = core.currentProgram.manualAperture;
core.getSettings(function() {
console.log("(capture) done getting settings, enabling knob");
stats = lists.evStats(core.cameraSettings);
Expand Down

0 comments on commit 4a0fa85

Please sign in to comment.