Skip to content

Commit aa5b061

Browse files
committed
clean code
1 parent 0950577 commit aa5b061

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

irRawRecv.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
var self;
1313

1414
function IrRawRecv(board, pinRecvIR) {
15-
console.log("debug IrRawRecv");
1615
self = this;
1716
Module.call(self);
1817
self._board = board;
@@ -49,15 +48,13 @@
4948
});
5049

5150
proto.receive = function (callback) {
52-
console.log("receive");
5351
self.irRecvCallback = callback;
5452
if (self._pinRecvIR > 0) {
5553
self._board.send([0xF0, 0x04, 0x0A, 0x00, self._pinRecvIR, 0xF7]);
5654
}
5755
};
5856

5957
proto.stopRecv = function () {
60-
console.log("stop receive");
6158
self._board.send([0xF0, 0x04, 0x0A, 0x01, 0xF7]);
6259
}
6360

0 commit comments

Comments
 (0)