Skip to content
This repository has been archived by the owner on Oct 4, 2021. It is now read-only.

Commit

Permalink
fix telegrams matched to masterthermostat 0x18
Browse files Browse the repository at this point in the history
  • Loading branch information
proddy committed Dec 30, 2020
1 parent 2ac535f commit bf65a60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/emsesp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ uint8_t EMSESP::check_master_device(const uint8_t device_id, const uint16_t type
}
}
// look for ids that are only handled by master
for (uint8_t i = 0; i < sizeof(master_ids); i++) {
for (uint8_t i = 0; i < sizeof(master_ids) / 2; i++) {
if (type_id == master_ids[i]) {
return 0x18;
}
Expand Down

0 comments on commit bf65a60

Please sign in to comment.