We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
arduino
Learn more about funding links in repositories.
Report abuse
There was an error while loading. Please reload this page.
1 parent d5228ec commit bcf0023Copy full SHA for bcf0023
serial.go
@@ -15,7 +15,6 @@ type writeRequest struct {
15
p *serport
16
d string
17
buffer bool
18
- id string
19
}
20
21
type serialhub struct {
@@ -84,12 +83,12 @@ func (sh *serialhub) run() {
84
83
close(p.sendNoBuf)
85
case wr := <-sh.write:
86
// if user sent in the commands as one text mode line
87
- write(wr, "")
+ write(wr)
88
89
90
91
92
-func write(wr writeRequest, id string) {
+func write(wr writeRequest) {
93
if wr.buffer {
94
//log.Println("Send was normal send, so sending to wr.p.sendBuffered")
95
wr.p.sendBuffered <- wr.d
0 commit comments