File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -22,15 +22,15 @@ const PortHandler = new function () {
22
22
selectedBauds : DEFAULT_BAUDS ,
23
23
portOverride : getConfig ( 'portOverride' , '/dev/rfcomm0' ) . portOverride ,
24
24
virtualMspVersion : "1.46.0" ,
25
- autoConnect : getConfig ( 'autoConnect' ) . autoConnect ,
25
+ autoConnect : getConfig ( 'autoConnect' , false ) . autoConnect ,
26
26
} ;
27
27
this . portPickerDisabled = false ;
28
28
this . dfuAvailable = false ;
29
29
this . portAvailable = false ;
30
30
this . showAllSerialDevices = false ;
31
- this . showVirtualMode = getConfig ( 'showVirtualMode' ) . showVirtualMode ;
32
- this . showManualMode = getConfig ( 'showManualMode' ) . showManualMode ;
33
- this . showAllSerialDevices = getConfig ( 'showAllSerialDevices' ) . showAllSerialDevices ;
31
+ this . showVirtualMode = getConfig ( 'showVirtualMode' , false ) . showVirtualMode ;
32
+ this . showManualMode = getConfig ( 'showManualMode' , false ) . showManualMode ;
33
+ this . showAllSerialDevices = getConfig ( 'showAllSerialDevices' , false ) . showAllSerialDevices ;
34
34
} ;
35
35
36
36
PortHandler . initialize = function ( ) {
You can’t perform that action at this time.
0 commit comments