mirror of
https://github.com/betaflight/betaflight-configurator.git
synced 2025-07-17 05:15:21 +03:00
Change timeout for MacOS
This commit is contained in:
parent
f5dab89965
commit
8e17e5a59b
1 changed files with 2 additions and 1 deletions
|
@ -116,7 +116,8 @@ STM32_protocol.prototype.connect = function (port, baud, hex, options, callback)
|
|||
if (disconnectionResult) {
|
||||
// delay to allow board to boot in bootloader mode
|
||||
// required to detect if a DFU device appears
|
||||
setTimeout(startFlashing, 1000);
|
||||
// MacOs seems to need about 5 seconds delay
|
||||
setTimeout(startFlashing, GUI.operating_system === 'MacOS' ? 5000 : 1000);
|
||||
} else {
|
||||
GUI.connect_lock = false;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue