From 17d570c7207129f1d8c4c6fbe641319ff558fcc1 Mon Sep 17 00:00:00 2001
From: NP v/d Spek <github_mail@lumensoft.nl>
Date: Sun, 6 Oct 2024 00:29:26 +0200
Subject: [PATCH] fix some CI Lint requests

---
 esphome/components/espnow/espnow.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/esphome/components/espnow/espnow.cpp b/esphome/components/espnow/espnow.cpp
index c87f2ec716..75bcecf339 100644
--- a/esphome/components/espnow/espnow.cpp
+++ b/esphome/components/espnow/espnow.cpp
@@ -340,9 +340,9 @@ void ESPNowComponent::on_data_sent(const uint8_t *mac_addr, esp_now_send_status_
 
 /* ESPNowProtocol ********************************************************************** */
 
-bool ESPNowProtocol::send(uint64_t peer, const uint8_t *data, uint8_t len, uint8_t command = 0) {
+bool ESPNowProtocol::send(uint64_t peer, const uint8_t *data, uint8_t len, uint8_t command) {
   ESPNowPacket packet(peer, data, len, this->get_protocol_component_id());  // NOLINT
-  packet.set_sequents(this->get_next_sequents(packet.peer, packet.protocol()));
+  packet.set_sequents(this->get_next_sequents(packet.peer, packet.get_protocol()));
   packet.set_command(command);
   return this->parent_->send(packet);
 }