diff --git a/renderer.js b/renderer.js index 638eb6a..d0b7657 100644 --- a/renderer.js +++ b/renderer.js @@ -831,7 +831,7 @@ const portOpenCb = () => { if ( portDetectionIndex < globalPorts.length ) { console.log ( `Now trying port with index ${portDetectionIndex}`) - connectDevice ( portDetectionIndex, false ) + connectDevice ( 'AUTO', false ) } else { console.log ( `No more ports available!` ) } @@ -1014,7 +1014,7 @@ const portOpenCb = () => { if ( portDetectionIndex < globalPorts.length ) { console.log ( `Now trying port with index ${portDetectionIndex}` ) - connectDevice ( portDetectionIndex, false ) + connectDevice ( 'AUTO', false ) } else { console.log ( `No more ports available!` ) }