File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -102,7 +102,8 @@ Avr109.prototype._reset = function(callback) {
102102 // creating a temporary connection for resetting only
103103 var tempSerialPort = new Serialport . SerialPort ( _this . connection . options . port , {
104104 baudRate : 1200 ,
105- } , false ) ;
105+ autoOpen : false
106+ } ) ;
106107
107108 _this . connection . serialPort = tempSerialPort ;
108109 conn = _this . connection ;
Original file line number Diff line number Diff line change @@ -47,7 +47,8 @@ Connection.prototype._init = function(callback) {
4747Connection . prototype . _setUpSerial = function ( callback ) {
4848 this . serialPort = new Serialport . SerialPort ( this . options . port , {
4949 baudRate : this . board . baud ,
50- } , false ) ;
50+ autoOpen : false
51+ } ) ;
5152 return callback ( null ) ;
5253} ;
5354
You can’t perform that action at this time.
0 commit comments