mirror of
https://github.com/esphome/esphome.git
synced 2025-01-14 00:23:18 +01:00
fix some CI Lint requests
This commit is contained in:
parent
e017b4fba9
commit
17d570c720
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue