1
0
mirror of https://github.com/esphome/esphome.git synced 2025-04-16 07:40:29 +01:00

fix some CI Lint requests

This commit is contained in:
NP v/d Spek 2024-10-06 00:36:29 +02:00
parent 17d570c720
commit 75b49b3702

View File

@ -179,7 +179,7 @@ ESPNowDefaultProtocol *ESPNowComponent::get_default_protocol() {
ESPNowProtocol *ESPNowComponent::get_protocol_component_(uint32_t protocol) { ESPNowProtocol *ESPNowComponent::get_protocol_component_(uint32_t protocol) {
if (this->protocols_[protocol] == nullptr) { if (this->protocols_[protocol] == nullptr) {
ESP_LOGE(TAG, "Protocol for '%06x' is not registered", protocol); ESP_LOGE(TAG, "Protocol for '%06lx' is not registered", protocol);
return nullptr; return nullptr;
} }
return this->protocols_[protocol]; return this->protocols_[protocol];