mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-06 07:49:52 +03:00
make standalone compile
This commit is contained in:
@@ -926,10 +926,12 @@ bool System::command_info(const char * value, const int8_t id, JsonObject & json
|
|||||||
node["dallas reads"] = EMSESP::sensor_reads();
|
node["dallas reads"] = EMSESP::sensor_reads();
|
||||||
node["dallas fails"] = EMSESP::sensor_fails();
|
node["dallas fails"] = EMSESP::sensor_fails();
|
||||||
}
|
}
|
||||||
|
#ifndef EMSESP_STANDALONE
|
||||||
if (EMSESP::system_.syslog_enabled_) {
|
if (EMSESP::system_.syslog_enabled_) {
|
||||||
node["syslog_ip"] = syslog_.ip();
|
node["syslog_ip"] = syslog_.ip();
|
||||||
node["syslog_started"] = syslog_.started();
|
node["syslog_started"] = syslog_.started();
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
JsonArray devices2 = json.createNestedArray("Devices");
|
JsonArray devices2 = json.createNestedArray("Devices");
|
||||||
|
|||||||
Reference in New Issue
Block a user