mirror of
https://github.com/betaflight/betaflight-configurator.git
synced 2025-07-19 06:15:13 +03:00
Fix minor issues
This commit is contained in:
parent
dcfe3d3108
commit
06f4c8b976
3 changed files with 11 additions and 8 deletions
|
@ -60,7 +60,7 @@ function initializeSerialBackend() {
|
|||
$('select#baud').hide();
|
||||
} else if (portName !== '0') {
|
||||
if (!clicks) {
|
||||
console.log(`${serial.connectionType}: connecting to: ${portName}`);
|
||||
console.log(`Connecting to: ${portName}`);
|
||||
GUI.connecting_to = portName;
|
||||
|
||||
// lock port select & baud while we are connecting / connected
|
||||
|
@ -803,7 +803,7 @@ function reinitialiseConnection(originatorTab, callback) {
|
|||
if (callback) {
|
||||
callback();
|
||||
}
|
||||
}, 100);
|
||||
}, 200);
|
||||
//TODO: Need to work out how to do a proper reconnect here.
|
||||
// caveat: Timeouts set with `GUI.timeout_add()` are removed on disconnect.
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue