From 362fead7e87cc920a860fd88044ee29b3d85d9d4 Mon Sep 17 00:00:00 2001 From: proddy Date: Tue, 27 Jul 2021 21:48:42 +0200 Subject: [PATCH] make standalone compile --- src/system.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/system.cpp b/src/system.cpp index e8de1b3af..4f6eba475 100644 --- a/src/system.cpp +++ b/src/system.cpp @@ -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 fails"] = EMSESP::sensor_fails(); } +#ifndef EMSESP_STANDALONE if (EMSESP::system_.syslog_enabled_) { node["syslog_ip"] = syslog_.ip(); node["syslog_started"] = syslog_.started(); } +#endif } JsonArray devices2 = json.createNestedArray("Devices");