fix build error with debug_flag

This commit is contained in:
MichaelDvP
2021-05-10 16:16:34 +02:00
committed by GitHub
parent bc78dd3f50
commit 2f0f45f3ec

View File

@@ -41,6 +41,7 @@ bool Command::call(const uint8_t device_type, const char * cmd, const char * val
}
#ifdef EMSESP_DEBUG
std::string dname = EMSdevice::device_type_2_device_name(device_type);
if (value == nullptr) {
LOG_DEBUG(F("[DEBUG] Calling %s command '%s'"), dname.c_str(), cmd);
} else if (id == -1) {