Public Access
Disable logging for registered protocol
Comment out logging for registered protocol.
This commit is contained in:
1 parent
0d2c9b2b54
commit
890e1a013d
1 file changed
+3
-3
@@ -46,9 +46,9 @@ void ProtocolFactory::register_protocol_for_vendor(uint16_t vendor_id,
|
|||||||
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 protocol '%s' for vendor 0x%04X (priority %d)",
|
// ESP_LOGI(FACTORY_TAG, "Registered protocol '%s' for vendor 0x%04X (priority %d)",
|
||||||
info.name.c_str(), vendor_id, info.priority);
|
// info.name.c_str(), vendor_id, info.priority);
|
||||||
}
|
}
|
||||||
|
|
||||||
void ProtocolFactory::register_fallback_protocol(const ProtocolInfo& info) {
|
void ProtocolFactory::register_fallback_protocol(const ProtocolInfo& info) {
|
||||||
|
|||||||
Reference in new issue
Block a user