From 27e3b8616bd3c01ba663cf19ef62ad708fae335b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dani=C3=ABl=20Koek?= Date: Thu, 25 Apr 2024 13:37:18 +0100 Subject: [PATCH] Update ebyte_lora.cpp --- esphome/components/ebyte_lora/ebyte_lora.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/esphome/components/ebyte_lora/ebyte_lora.cpp b/esphome/components/ebyte_lora/ebyte_lora.cpp index 6c4b7bebc9..9890a76f75 100644 --- a/esphome/components/ebyte_lora/ebyte_lora.cpp +++ b/esphome/components/ebyte_lora/ebyte_lora.cpp @@ -251,7 +251,7 @@ void EbyteLoraComponent::set_mode_(ModeType mode) { bool EbyteLoraComponent::can_send_message_() { // High means no more information is needed if (this->pin_aux_->digital_read()) { - if (!this->starting_to_check_ == 0 && !this->time_out_after_ == 0) { + if (!(this->starting_to_check_ == 0) && !(this->time_out_after_ == 0)) { this->starting_to_check_ = 0; this->time_out_after_ = 0; this->flush();