mirror of
https://github.com/iNavFlight/inav-configurator.git
synced 2025-07-23 16:25: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
|
@ -237,6 +237,9 @@ function onOpen(openInfo) {
|
||||||
|
|
||||||
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) {
|
||||||
if (result.last_used_port) {
|
if (result.last_used_port) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue