Public Access
Update protocol_factory.cpp
This commit is contained in:
1 parent
890e1a013d
commit
039e7d53ad
1 file changed
+2
-2
@@ -27,8 +27,8 @@ void ProtocolFactory::ensure_initialized() {
|
|||||||
// This function exists for explicit initialization if needed
|
// This function exists for explicit initialization if needed
|
||||||
static bool initialized = false;
|
static bool initialized = false;
|
||||||
if (!initialized) {
|
if (!initialized) {
|
||||||
if (esphome::logger::global_logger != nullptr)
|
// if (esphome::logger::global_logger != nullptr)
|
||||||
ESP_LOGD(FACTORY_TAG, "Protocol factory registries initialized");
|
// ESP_LOGD(FACTORY_TAG, "Protocol factory registries initialized");
|
||||||
initialized = true;
|
initialized = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user