Skip to content

Commit f1d1856

Browse files
committed
Better linux serial list
Former-commit-id: adf1bdc4676f592b53a3af24e906cf4ef0d43cd3 [formerly d5723288d83926fead095a40c54198004f272075] Former-commit-id: fa0912675714d0c9153bc3222abd7cd93dcdeb1d
1 parent 1e3f606 commit f1d1856

4 files changed

+2
-60
lines changed

serial-port-json-server.exe.REMOVED.git-id

-1
This file was deleted.

seriallist.go

100644100755
+1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ import (
1111
type OsSerialPort struct {
1212
Name string
1313
FriendlyName string
14+
RelatedNames []string // for some devices there are 2 or more ports, i.e. TinyG v9 has 2 serial ports
1415
}
1516

1617
func GetList() ([]OsSerialPort, os.SyscallError) {

seriallist_linux.go

-59
This file was deleted.

seriallist_linux.go.REMOVED.git-id

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
878f0ed88b58b9427fcb12a4f18021a7ae25f1ef

0 commit comments

Comments
 (0)