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];