Update serial_backend.js

Added reset for OSD units
pull/1377/head
Darren Lines 3 years ago committed by GitHub
parent 65ea4a8763
commit 4831912b5d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

Loading…
Cancel
Save