Skip to content

Commit 30614e1

Browse files
committed
minor fixes
1 parent f009a16 commit 30614e1

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

gateway.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -565,7 +565,7 @@ io.sockets.on('connection', function (socket) {
565565
});
566566

567567
socket.on('SIMULATEDMESSAGE', function (str) {
568-
if (msg) processSerialData(msg, true);
568+
if (str) processSerialData(str, true);
569569
});
570570

571571
socket.on('GATEWAYMESSAGE', function (msg) {

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
},
1010
"author": "Felix Rusu (https://github.com/LowPowerLab)",
1111
"homepage": "http://lowpowerlab.com/gateway",
12-
"license" : "CC-BY-NC-4.0",
12+
"license" : "CC-BY-NC-SA-4.0",
1313
"bugs": {
1414
"url": "https://github.com/LowPowerLab/RaspberryPi-Gateway/issues",
1515
"email": "[email protected]"
@@ -23,7 +23,7 @@
2323
"nconf": "~0.10.0",
2424
"nedb": "~1.8",
2525
"nodemailer": "^6.4.6",
26-
"serialport": "~8.0.7",
26+
"serialport": "~7.0.2",
2727
"socket.io": "~2.3.0",
2828
"speedtest-net": "^1.6.2",
2929
"suncalc": "~1.8"

0 commit comments

Comments
 (0)