Skip to content

Commit

Permalink
miops backlash correction testing
Browse files Browse the repository at this point in the history
  • Loading branch information
elijahparker committed Mar 31, 2020
1 parent 5fc97cc commit c9b15f9
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions intervalometer/intervalometer-server.js
Original file line number Diff line number Diff line change
Expand Up @@ -947,6 +947,13 @@ function startScan() {
//status = motion.nmx.getStatus();
sendEvent('motion.status', motion.status);
}
var status = motion.mc1.getStatus();
if(status.connected && status.connectionType == "bt") {
console.log("CORE: disconnected MC1, bluetooth powered off");
motion.mc1.disconnect();
//status = motion.nmx.getStatus();
sendEvent('motion.status', motion.status);
}
}
}
//function startScan() {
Expand Down

0 comments on commit c9b15f9

Please sign in to comment.