From 62254937988e00b4f5be83717d52da6c57b52c60 Mon Sep 17 00:00:00 2001 From: Bernd Konnerth Date: Sat, 6 Jan 2024 17:35:06 +0100 Subject: [PATCH] fix: device detection stuck when receiving hardware error --- renderer.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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!` ) }