mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-08 00:39:50 +03:00
Update boiler.cpp
This commit is contained in:
@@ -815,10 +815,11 @@ void Boiler::process_UBAErrorMessage(std::shared_ptr<const Telegram> telegram) {
|
||||
|
||||
// 0xC2
|
||||
void Boiler::process_UBAErrorMessage2(std::shared_ptr<const Telegram> telegram) {
|
||||
// not sure why this test is in , so removing
|
||||
// if (telegram->offset > 0 || telegram->message_length < 14) {
|
||||
// return;
|
||||
// }
|
||||
// for decoding "last error code" we need telegram starting with offset 0
|
||||
if (telegram->offset != 0 || telegram->message_length < 14) {
|
||||
return;
|
||||
}
|
||||
|
||||
char code[4];
|
||||
uint16_t codeNo;
|
||||
char start_time[17];
|
||||
|
||||
Reference in New Issue
Block a user