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