Update ebyte_lora_component.cpp

This commit is contained in:
Daniël Koek 2024-10-16 14:26:35 +01:00
parent 54eedc4345
commit 509e71ab2c

View file

@ -307,7 +307,8 @@ void EbyteLoraComponent::setup() {
ESP_LOGD(TAG, "Setup success");
}
void EbyteLoraComponent::request_current_config_() {
if (this->can_send_message_("requesting current config")) {
if (!this->can_send_message_("requesting current config")) {
// can't send a message yet return!
return;
}
if (this->get_mode_() != CONFIGURATION) {