Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
marcelkordek committed May 14, 2016
1 parent f761f93 commit b07f72e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,9 +102,9 @@ HarmanKardonAVRAccessory.prototype = {

exec("ping -c 2 -W 1 " +this.ip+ " | grep -i '2 received'", function(error, stdout, stderr) {
state = stdout ? true : false;
this.log("Current state: " + (state ? "On." : "Off."));
callback(null, state);
});
this.log("Current state: " + (state ? "On." : "Off."));
},

setMute: function(callback) {
Expand Down

0 comments on commit b07f72e

Please sign in to comment.