You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
log.Println(fmt.Sprintf("Did not find an open port in the serial port list. We are going to artificially push it onto the list. port:%v", port.portConf.Name))
487
-
varosspOsSerialPort
488
-
ossp.Name=port.portConf.Name
489
-
ossp.FriendlyName=port.portConf.Name
490
-
list=append([]OsSerialPort{ossp}, list...)
485
+
if!isFound {
486
+
// artificially push to front of port list
487
+
log.Println(fmt.Sprintf("Did not find an open port in the serial port list. We are going to artificially push it onto the list. port:%v", port.portConf.Name))
0 commit comments