mirror of
https://github.com/esphome/esphome.git
synced 2025-01-22 12:26:01 +01:00
Update ebyte_lora_component.cpp
This commit is contained in:
parent
54eedc4345
commit
509e71ab2c
1 changed files with 2 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue