mirror of
https://github.com/esphome/esphome.git
synced 2024-11-23 23:48:11 +01:00
Update ebyte_lora_component.cpp
This commit is contained in:
parent
e7dd595582
commit
33da3d2e92
1 changed files with 5 additions and 2 deletions
|
@ -434,9 +434,12 @@ void EbyteLoraComponent::loop() {
|
|||
}
|
||||
this->process_(data);
|
||||
}
|
||||
|
||||
if (this->request_repeater_info_update_needed_)
|
||||
if (!this->can_send_message_("Loop to see if send or repeater request"))
|
||||
return;
|
||||
if (this->request_repeater_info_update_needed_) {
|
||||
this->request_repeater_info_();
|
||||
return;
|
||||
}
|
||||
if (this->need_send_info) {
|
||||
this->send_data_(true);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue