1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-19 14:25:20 +03:00

doubling initialization timeout inside port handler

This commit is contained in:
cTn 2014-10-17 11:52:52 +02:00
parent 4fe8d66bf5
commit 8477573be5

View file

@ -111,7 +111,7 @@ PortHandler.check = function () {
if (GUI.active_tab != 'firmware_flasher') {
GUI.timeout_add('auto-connect_timeout', function () {
$('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
}
}