fix master thermostat

This commit is contained in:
proddy
2020-12-30 11:05:30 +01:00
parent fca2ad3253
commit 1abc179702

View File

@@ -137,7 +137,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;
}
@@ -1073,7 +1073,6 @@ void EMSESP::start() {
System::show_mem("after start()");
#endif
#endif
}
// main loop calling all services