mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-20 06:45:16 +03:00
doubling initialization timeout inside port handler
This commit is contained in:
parent
4fe8d66bf5
commit
8477573be5
1 changed files with 1 additions and 1 deletions
|
@ -111,7 +111,7 @@ PortHandler.check = function () {
|
||||||
if (GUI.active_tab != 'firmware_flasher') {
|
if (GUI.active_tab != 'firmware_flasher') {
|
||||||
GUI.timeout_add('auto-connect_timeout', function () {
|
GUI.timeout_add('auto-connect_timeout', function () {
|
||||||
$('div#port-picker a.connect').click();
|
$('div#port-picker a.connect').click();
|
||||||
}, 50); // small timeout so we won't get any nasty connect errors due to system initializing the bus
|
}, 100); // timeout so bus have time to initialize after being detected by the system
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue