mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-06 07:49:52 +03:00
fix typo in set_wwswitchtime, fixes #2490
This commit is contained in:
@@ -3619,7 +3619,7 @@ bool Thermostat::set_wwCircSwitchTime(const char * value, const int8_t id) {
|
||||
// sets a single switchtime in the thermostat circulation program for RC35
|
||||
bool Thermostat::set_wwSwitchTime(const char * value, const int8_t id) {
|
||||
auto dhw = dhw_circuit(id2dhw(id));
|
||||
if (dhw != nullptr) {
|
||||
if (dhw == nullptr) {
|
||||
return false;
|
||||
}
|
||||
char out[sizeof(dhw->wwSwitchTime_)] = {'\0'};
|
||||
|
||||
Reference in New Issue
Block a user