Skip to content

fix the listing of the boards #668

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Jan 24, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
remove unused function
  • Loading branch information
umbynos committed Oct 14, 2021
commit 38f99b7b28e87e457522fb5ad1ecdccbf88dd06c
11 changes: 0 additions & 11 deletions seriallist.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,14 +80,3 @@ func findPortByName(portname string) (*serport, bool) {
}
return nil, false
}

func findPortByNameRerun(portname string, network bool) (OsSerialPort, bool) {
portnamel := strings.ToLower(portname)
list, _ := GetList(network)
for _, item := range list {
if strings.ToLower(item.Name) == portnamel {
return item, true
}
}
return OsSerialPort{}, false
}