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
MichaelDvP committed Dec 30, 2020
1 parent 641e557 commit bc05b4f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG_LATEST.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
### Added

### Fixed
- telegrams matched to masterthermostat 0x18

### Changed

Expand Down
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 bc05b4f

Please sign in to comment.