Update ebyte_lora_component.cpp

This commit is contained in:
Daniël Koek 2024-10-11 11:32:20 +01:00
parent e7dd595582
commit 33da3d2e92

View file

@ -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);
}