mirror of
https://github.com/esphome/esphome.git
synced 2024-11-28 09:44:12 +01:00
fix missing return
This commit is contained in:
parent
090bfc9d3f
commit
6dbd779ede
1 changed files with 1 additions and 1 deletions
|
@ -124,7 +124,7 @@ class ESPNowProtocol : public Parented<ESPNowComponent> {
|
||||||
|
|
||||||
virtual uint32_t get_protocol_id() = 0;
|
virtual uint32_t get_protocol_id() = 0;
|
||||||
virtual std::string get_protocol_name() = 0;
|
virtual std::string get_protocol_name() = 0;
|
||||||
uint8_t get_next_sequents() { this->get_next_sequents(0, 0); }
|
uint8_t get_next_sequents() { return this->get_next_sequents(0, 0); }
|
||||||
virtual uint8_t get_next_sequents(uint64_t peer, uint32_t protocol) {
|
virtual uint8_t get_next_sequents(uint64_t peer, uint32_t protocol) {
|
||||||
if (this->next_sequents_ == 255) {
|
if (this->next_sequents_ == 255) {
|
||||||
this->next_sequents_ = 0;
|
this->next_sequents_ = 0;
|
||||||
|
|
Loading…
Reference in a new issue