We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ff9468a commit 0556699Copy full SHA for 0556699
src/js/serial_backend.js
@@ -61,7 +61,7 @@ export function initializeSerialBackend() {
61
!GUI.connecting_to &&
62
!["cli", "firmware_flasher"].includes(GUI.active_tab) &&
63
PortHandler.portPicker.autoConnect &&
64
- !(Date.now() - rebootTimestamp > REBOOT_CONNECT_MAX_TIME_MS)
+ Date.now() - rebootTimestamp <= REBOOT_CONNECT_MAX_TIME_MS
65
) {
66
connectDisconnect();
67
}
0 commit comments