1
0
Fork 0
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:
Mark Haslinghuis 2020-11-22 02:29:59 +01:00
parent dcfe3d3108
commit 06f4c8b976
3 changed files with 11 additions and 8 deletions

View file

@ -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 {