mirror of
https://github.com/esphome/esphome.git
synced 2024-12-25 23:14:54 +01:00
Update ebyte_lora.cpp
This commit is contained in:
parent
6d4f491b49
commit
27e3b8616b
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue