Skip to content

Commit 965317a

Browse files
matteosuppofacchinm
authored andcommitted
Send the info about wether it's a networkport
Former-commit-id: ea329bac377aae1833f05744e8ba0ab7f2027671 [formerly ce0db59698c0e4edf2bfa615fb24df8e2a96fccb] Former-commit-id: 3c5225add431f2fce9e754dffe116d96872efaf4
1 parent 31a9a52 commit 965317a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

serial.go

+2
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ type SpPortItem struct {
100100
BufferAlgorithm string
101101
AvailableBufferAlgorithms []string
102102
Ver float32
103+
NetworkPort bool
103104
}
104105

105106
var sh = serialhub{
@@ -476,6 +477,7 @@ func spList() {
476477
BufferAlgorithm: "",
477478
AvailableBufferAlgorithms: availableBufferAlgorithms,
478479
Ver: versionFloat,
480+
NetworkPort: item.NetworkPort,
479481
}
480482

481483
// figure out if port is open

0 commit comments

Comments
 (0)