mirror of
https://github.com/betaflight/betaflight-configurator.git
synced 2025-07-24 00:35:26 +03:00
Fix intermittent connect failure (#3515)
This commit is contained in:
parent
664e6722a8
commit
edd34a1624
3 changed files with 7 additions and 13 deletions
|
@ -761,7 +761,7 @@ export function reinitializeConnection(callback) {
|
|||
clearInterval(reconnect);
|
||||
gui_log(i18n.getMessage('deviceReady'));
|
||||
|
||||
if (callback === typeof('function')) {
|
||||
if (typeof callback === 'function') {
|
||||
callback();
|
||||
}
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue