Skip to content

Commit

Permalink
fixed gesture sensor block
Browse files Browse the repository at this point in the history
  • Loading branch information
elijahparker committed Dec 6, 2016
1 parent 38846ea commit d6e58dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.js
Original file line number Diff line number Diff line change
Expand Up @@ -1624,7 +1624,7 @@ if (VIEW_HARDWARE) {
inputs.on('G', function(move) {
power.activity();
if (blockInputs) return;
if(!intervalometer.running) return; // only use gesture sensor when a time-lapse is running
if(!intervalometer.status.running) return; // only use gesture sensor when a time-lapse is running
console.log("Gesture: " + move);
if (blockGesture) {
console.log("(blocked)");
Expand Down

0 comments on commit d6e58dc

Please sign in to comment.