File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -100,7 +100,7 @@ Avr109.prototype._reset = function(callback) {
100100 var conn ;
101101
102102 // creating a temporary connection for resetting only
103- var tempSerialPort = new Serialport . SerialPort ( _this . connection . options . port , {
103+ var tempSerialPort = new Serialport ( _this . connection . options . port , {
104104 baudRate : 1200 ,
105105 autoOpen : false
106106 } ) ;
Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ Connection.prototype._init = function(callback) {
4545 * Create new serialport instance for the Arduino board, but do not immediately connect.
4646 */
4747Connection . prototype . _setUpSerial = function ( callback ) {
48- this . serialPort = new Serialport . SerialPort ( this . options . port , {
48+ this . serialPort = new Serialport ( this . options . port , {
4949 baudRate : this . board . baud ,
5050 autoOpen : false
5151 } ) ;
You can’t perform that action at this time.
0 commit comments