mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-07 16:29:51 +03:00
tidy up EMSESP_DEBUG
This commit is contained in:
@@ -1682,8 +1682,8 @@ bool EMSdevice::generate_values(JsonObject output, const int8_t tag_filter, cons
|
||||
|
||||
// do not overwrite
|
||||
if (json.containsKey(name)) {
|
||||
#ifdef EMSESP_DEBUG
|
||||
EMSESP::logger().debug("double json key: %s", name);
|
||||
#if defined(EMSESP_DEBUG)
|
||||
EMSESP::logger().debug("warning: double json key: %s", name);
|
||||
#endif
|
||||
continue;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user