Added reset for OSD units
@ -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) {