Skip to content

Commit

Permalink
fix(plc4go/cbus): fixed c-bus reporting a request to pci falsely
Browse files Browse the repository at this point in the history
  • Loading branch information
sruehl committed Aug 4, 2022
1 parent a7c38fb commit 8eef885
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion plc4go/internal/cbus/MessageCodec.go
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,9 @@ lookingForTheEnd:
} else {
// after 90ms we give up finding a lf
m.lastPackageHash, m.hashEncountered = 0, 0
requestToPci = true
if indexOfCR >= 0 {
requestToPci = true
}
}
}
if !pciResponse && !requestToPci {
Expand Down

0 comments on commit 8eef885

Please sign in to comment.