From eb13241672e34b7d982f0644aa9bced34edcf493 Mon Sep 17 00:00:00 2001 From: Kevin Wallace Date: Sun, 26 Apr 2026 10:29:08 -0700 Subject: replyTo --- cmd/pic32-ipp/main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cmd/pic32-ipp/main.go') diff --git a/cmd/pic32-ipp/main.go b/cmd/pic32-ipp/main.go index c6d3d98..34bc571 100644 --- a/cmd/pic32-ipp/main.go +++ b/cmd/pic32-ipp/main.go @@ -20,7 +20,7 @@ func main() { log.SetFlags(log.Lshortfile | log.Ldate | log.Ltime | log.Lmicroseconds) log.Println("pic32-ipp start") wc := make(chan struct{}, 1) - s, err := pic32.OpenIPP(func(msgType byte, msgData []byte) { + s, err := pic32.OpenIPP(func(seq, replyTo byte, msgType byte, msgData []byte) { pic32.LogIPP(msgType, msgData) select { case wc <- struct{}{}: @@ -44,7 +44,7 @@ func main() { } else { msgData = bs } - if err := s.SendIPP(msgType, msgData); err != nil { + if err := s.SendIPP(msgType, 0, msgData); err != nil { panic(err) } if *wait > 0 { -- cgit v1.2.3