reworked
This commit is contained in:
parent
c24f65c10a
commit
d709308946
1 changed files with 2 additions and 2 deletions
|
@ -74,12 +74,12 @@ void Settings::setDisableDoor(bool value) {
|
||||||
|
|
||||||
#ifdef WIFI
|
#ifdef WIFI
|
||||||
#ifdef TINANCE2_BACKEND
|
#ifdef TINANCE2_BACKEND
|
||||||
tinance2logrequest("Settings::setDisableDoor: " + value);
|
tinance2logrequest("Settings::setDisableDoor: " + String(value));
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef SERIAL_DEBUG
|
#ifdef SERIAL_DEBUG
|
||||||
Serial.print("Settings::setDisableDoor: " + value);
|
Serial.print("Settings::setDisableDoor: " + String(value));
|
||||||
Serial.println(disableDoor);
|
Serial.println(disableDoor);
|
||||||
#endif
|
#endif
|
||||||
saveSetting("settings", "disableDoor", String(disableDoor), "bool");
|
saveSetting("settings", "disableDoor", String(disableDoor), "bool");
|
||||||
|
|
Loading…
Reference in a new issue