Skip to content

Commit 1f934bc

Browse files
committed
CR review III
1 parent ba3593d commit 1f934bc

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

src/js/tabs/firmware_flasher.js

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff 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
}

0 commit comments

Comments
 (0)