bug fixes

This commit is contained in:
Shannon Sterz 2016-01-13 23:58:55 +01:00
parent c3a37ff63f
commit 894e19dcf1

View file

@ -4,7 +4,9 @@ var sucess = true;
var SerialPort = require("serialport").SerialPort
serialPort = new SerialPort("/dev/ttyACM0", {
baudrate: 9600
}, false).open(function (error) {
}, false);
serialPort.open(function (error) {
if ( error ) {
sucess = false;
}