Public Access
Disable logging for fallback protocol registration
Commented out logging for registered fallback protocol.
This commit is contained in:
1 parent
f97093ae7d
commit
0d2c9b2b54
1 file changed
+3
-3
@@ -63,9 +63,9 @@ void ProtocolFactory::register_fallback_protocol(const ProtocolInfo& info) {
|
|||||||
return a.priority > b.priority;
|
return a.priority > b.priority;
|
||||||
});
|
});
|
||||||
|
|
||||||
if (esphome::logger::global_logger != nullptr)
|
// if (esphome::logger::global_logger != nullptr)
|
||||||
ESP_LOGI(FACTORY_TAG, "Registered fallback protocol '%s' (priority %d)",
|
// ESP_LOGI(FACTORY_TAG, "Registered fallback protocol '%s' (priority %d)",
|
||||||
info.name.c_str(), info.priority);
|
// info.name.c_str(), info.priority);
|
||||||
}
|
}
|
||||||
|
|
||||||
std::unique_ptr<UpsProtocolBase>
|
std::unique_ptr<UpsProtocolBase>
|
||||||
|
|||||||
Reference in new issue
Block a user