Skip to content

Commit

Permalink
Updated hello command
Browse files Browse the repository at this point in the history
  • Loading branch information
pvgennip committed Dec 9, 2017
1 parent 1ca0f7c commit 1ff8bb1
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions maxcube.js
Original file line number Diff line number Diff line change
Expand Up @@ -189,11 +189,7 @@ MaxCube.prototype.flushDeviceCache = function() {
MaxCube.prototype.sayHello = function() {
checkInitialised.call(this);

return send.call(this, 'H:\r\n').then(function (res) {
self.commStatus.duty_cycle = res.duty_cycle;
self.commStatus.free_memory_slots = res.free_memory_slots;
return res.accepted;
});
return send.call(this, 'h:\r\n');
};

MaxCube.prototype.setTemperature = function(rf_address, degrees, mode, untilDate) {
Expand Down

0 comments on commit 1ff8bb1

Please sign in to comment.