mirror of
https://github.com/betaflight/betaflight-configurator.git
synced 2025-07-19 06:15:13 +03:00
Fix serialportconfig (#3084)
This commit is contained in:
parent
46f0bb3885
commit
6b78f369fd
2 changed files with 33 additions and 8 deletions
|
@ -860,7 +860,9 @@ function reinitializeConnection(callback) {
|
|||
clearInterval(reconnect);
|
||||
getStatus();
|
||||
GUI.log(i18n.getMessage('deviceReady'));
|
||||
callback?.();
|
||||
if (callback === typeof('function')) {
|
||||
callback();
|
||||
}
|
||||
} else {
|
||||
attempts++;
|
||||
if (attempts > 100) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue