mirror of
https://github.com/iNavFlight/inav-configurator.git
synced 2025-07-23 08:15:19 +03:00
Update serial_backend.js
Added reset for OSD units
This commit is contained in:
parent
65ea4a8763
commit
4831912b5d
1 changed files with 3 additions and 0 deletions
|
@ -236,6 +236,9 @@ 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) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue