mirror of
https://github.com/esphome/esphome.git
synced 2025-02-01 18:50:55 +00:00
oeps
This commit is contained in:
parent
8028167e67
commit
c7d7135e12
@ -337,7 +337,7 @@ void ESPNowComponent::on_data_sent(const uint8_t *mac_addr, esp_now_send_status_
|
|||||||
|
|
||||||
bool ESPNowProtocol::send(uint64_t peer, const uint8_t *data, uint8_t len, uint8_t command) {
|
bool ESPNowProtocol::send(uint64_t peer, const uint8_t *data, uint8_t len, uint8_t command) {
|
||||||
ESPNowPacket packet(peer, data, len, this->get_protocol_id()); // NOLINT
|
ESPNowPacket packet(peer, data, len, this->get_protocol_id()); // NOLINT
|
||||||
packet.set_sequents(this->get_next_sequents(packet.peer, packet.get_protocol()));
|
packet.set_sequents(this->get_next_sequents(packet.peer));
|
||||||
packet.set_command(command);
|
packet.set_command(command);
|
||||||
return this->parent_->send(packet);
|
return this->parent_->send(packet);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user