File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ export function initializeSerialBackend() {
61
61
! GUI . connecting_to &&
62
62
GUI . active_tab !== "firmware_flasher" &&
63
63
( ( PortHandler . portPicker . autoConnect && ! [ "manual" , "virtual" ] . includes ( device ) ) ||
64
- Date . now ( ) - rebootTimestamp < REBOOT_CONNECT_MAX_TIME_MS )
64
+ Date . now ( ) - rebootTimestamp > REBOOT_CONNECT_MAX_TIME_MS )
65
65
) {
66
66
connectDisconnect ( ) ;
67
67
}
@@ -73,7 +73,7 @@ export function initializeSerialBackend() {
73
73
! GUI . connecting_to &&
74
74
GUI . active_tab !== "firmware_flasher" &&
75
75
( ( PortHandler . portPicker . autoConnect && ! [ "manual" , "virtual" ] . includes ( device ) ) ||
76
- Date . now ( ) - rebootTimestamp < REBOOT_CONNECT_MAX_TIME_MS )
76
+ Date . now ( ) - rebootTimestamp > REBOOT_CONNECT_MAX_TIME_MS )
77
77
) {
78
78
connectDisconnect ( ) ;
79
79
}
You can’t perform that action at this time.
0 commit comments