Skip to content

Commit

Permalink
Update boiler.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
pswid committed Dec 3, 2021
1 parent 69976c2 commit 92da613
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/devices/boiler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -816,7 +816,7 @@ void Boiler::process_UBAErrorMessage(std::shared_ptr<const Telegram> telegram) {
// 0xC2
void Boiler::process_UBAErrorMessage2(std::shared_ptr<const Telegram> telegram) {
// for decoding "last error code" we need telegram starting with offset 0
if (telegram->offset != 0 || telegram->message_length < 14) {
if (telegram->offset != 0 || telegram->message_length < 20) {
return;
}

Expand Down

0 comments on commit 92da613

Please sign in to comment.