Skip to content

Commit 1acfc46

Browse files
committed
remove useless log on windows
1 parent 95a9232 commit 1acfc46

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

seriallist_windows.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ func getListViaWmiPnpEntity() ([]OsSerialPort, os.SyscallError) {
178178
// USB\VID_1D50&PID_606D&MI_00\6&2F09EA14&0&0000
179179
deviceIdStr, _ := oleutil.GetProperty(item, "DeviceID")
180180
devIdItems := strings.Split(deviceIdStr.ToString(), "&")
181-
log.Printf("DeviceId elements:%v", devIdItems)
181+
//log.Printf("DeviceId elements:%v", devIdItems)
182182
if len(devIdItems) > 3 {
183183
list[i].SerialNumber = devIdItems[3]
184184
list[i].IdProduct = strings.Replace(devIdItems[1], "PID_", "", 1)

0 commit comments

Comments
 (0)