Commit e215c4a 1 parent 13a3851 commit e215c4a Copy full SHA for e215c4a
File tree 4 files changed +6
-6
lines changed
4 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ console.log("Press 9 to hide debug messages including network traffic");
34
34
//console.log("Press a to request an info update from the lights");
35
35
36
36
var stdin = process . openStdin ( ) ;
37
- process . stdin . setRawMode ( true )
37
+ process . stdin . setRawMode ( true ) ;
38
38
process . stdin . resume ( ) ;
39
39
40
40
var cycledColour = 0 ;
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ console.log("Press 9 to hide debug messages including network traffic");
37
37
//console.log("Press a to request an info update from the lights");
38
38
39
39
var stdin = process . openStdin ( ) ;
40
- process . stdin . setRawMode ( true )
40
+ process . stdin . setRawMode ( true ) ;
41
41
process . stdin . resume ( ) ;
42
42
43
43
var hue = 0 ;
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ var util = require('util');
4
4
var lx = lifx . init ( ) ;
5
5
6
6
var stdin = process . openStdin ( ) ;
7
- process . stdin . setRawMode ( true )
7
+ process . stdin . setRawMode ( true ) ;
8
8
process . stdin . resume ( ) ;
9
9
10
10
console . log ( "Control 2 lights independently: press numbers 1-8" ) ;
Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ Lifx.prototype._getPacketHandler = function() {
46
46
47
47
Lifx . prototype . _gotPacket = function ( data , gw ) {
48
48
if ( debug ) console . log ( " T- " + data . toString ( "hex" ) ) ;
49
-
49
+
50
50
switch ( data [ 32 ] ) {
51
51
52
52
case 0x6b :
@@ -108,7 +108,7 @@ Lifx.prototype.startDiscovery = function() {
108
108
var self = this ;
109
109
var UDPClient = dgram . createSocket ( "udp4" ) ;
110
110
UDPClient . unref ( ) ; // Stop this from preventing Node from ending
111
-
111
+
112
112
UDPClient . on ( "error" , function ( err ) {
113
113
console . log ( "UDP error " + err ) ;
114
114
} ) ;
@@ -185,7 +185,7 @@ Gateway.prototype.connect = function(cb) {
185
185
self . connect ( ) ;
186
186
}
187
187
} ) ;
188
- }
188
+ } ;
189
189
190
190
Lifx . prototype . findBulbs = function ( ) {
191
191
this . gateways . forEach ( function ( g ) {
You can’t perform that action at this time.
0 commit comments