1
0
Fork 0
mirror of https://github.com/iNavFlight/inav-configurator.git synced 2025-07-23 16:25:19 +03:00

Update serial_backend.js

Better to have this code elsewhere. Reverted file to original form.
This commit is contained in:
Darren Lines 2021-11-12 20:10:26 +00:00 committed by GitHub
parent 4831912b5d
commit 51a62fc857
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -236,9 +236,6 @@ function onOpen(openInfo) {
GUI.connecting_to = false; GUI.connecting_to = false;
GUI.log(chrome.i18n.getMessage('serialPortOpened', [openInfo.connectionId])); GUI.log(chrome.i18n.getMessage('serialPortOpened', [openInfo.connectionId]));
// Reset the osdUnits
globalSettings.osdUnits = null;
// save selected port with chrome.storage if the port differs // save selected port with chrome.storage if the port differs
chrome.storage.local.get('last_used_port', function (result) { chrome.storage.local.get('last_used_port', function (result) {