mirror of
https://github.com/betaflight/betaflight-configurator.git
synced 2025-07-24 00:35:26 +03:00
Fix autobackup (#4033)
* Fix autoback and execute commands in cli * Backout changes in cli
This commit is contained in:
parent
378d200916
commit
eb0ef767bf
4 changed files with 16 additions and 6 deletions
|
@ -58,7 +58,7 @@ export function initializeSerialBackend() {
|
|||
|
||||
EventBus.$on('port-handler:auto-select-serial-device', function(device) {
|
||||
if (!GUI.connected_to && !GUI.connecting_to && GUI.active_tab !== 'firmware_flasher'
|
||||
&& ((PortHandler.portPicker.autoConnect && !["manual", "virtual"].includes(device))
|
||||
&& ((PortHandler.portPicker.autoConnect && !["manual", "virtual"].includes(device))
|
||||
|| Date.now() - rebootTimestamp < REBOOT_CONNECT_MAX_TIME_MS)) {
|
||||
connectDisconnect();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue