summaryrefslogtreecommitdiff
path: root/cmd/pic32-ipp
diff options
context:
space:
mode:
authorKevin Wallace <kevin@pentabarf.net>2026-04-26 10:29:08 -0700
committerKevin Wallace <kevin@pentabarf.net>2026-04-26 10:43:21 -0700
commiteb13241672e34b7d982f0644aa9bced34edcf493 (patch)
tree8646d45d5ea6dbae51b6f43b0d1ed9b3d3d4f633 /cmd/pic32-ipp
parentcvend wip (diff)
replyToHEADmaster
Diffstat (limited to 'cmd/pic32-ipp')
-rw-r--r--cmd/pic32-ipp/main.go4
1 files changed, 2 insertions, 2 deletions
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 {