Skip to content

Commit 9cbe49e

Browse files
committed
fix tests
1 parent 65218a6 commit 9cbe49e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

serialport.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ func (p *serport) reader(buftype string) {
9292
if p.isClosing.Load() {
9393
strmsg := "Shutting down reader on " + p.portConf.Name
9494
log.Println(strmsg)
95-
p.ChanWriter.Write.Write([]byte(strmsg))
95+
p.ChanWriter.Write([]byte(strmsg))
9696
break
9797
}
9898

0 commit comments

Comments
 (0)