File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -1567,12 +1567,11 @@ firmware_flasher.initialize = async function (callback) {
15671567 $ ( "a.exit_dfu" ) . removeClass ( "disabled" ) ;
15681568 }
15691569
1570-
1571- const isFlashOnConnect = $ ( "input.flash_on_connect" ) . is ( ":checked" ) ;
1572- if ( PortHandler . portAvailable && ! isFlashOnConnect ) {
1573- console . log ( `${ self . logHead } 💥 Auto-detecting board for already connected device` ) ;
1574- AutoDetect . verifyBoard ( ) ;
1575- }
1570+ const isFlashOnConnect = $ ( "input.flash_on_connect" ) . is ( ":checked" ) ;
1571+ if ( PortHandler . portAvailable && ! isFlashOnConnect ) {
1572+ console . log ( `${ self . logHead } 💥 Auto-detecting board for already connected device` ) ;
1573+ AutoDetect . verifyBoard ( ) ;
1574+ }
15761575
15771576 GUI . content_ready ( callback ) ;
15781577 }
You can’t perform that action at this time.
0 commit comments