mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-07 16:29:51 +03:00
fix master thermostat
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user