mirror of
https://github.com/esphome/esphome.git
synced 2024-11-24 07:58:09 +01:00
Update ebyte_lora_component.cpp
This commit is contained in:
parent
db2f346122
commit
690b0c5f36
1 changed files with 1 additions and 0 deletions
|
@ -509,6 +509,7 @@ void EbyteLoraComponent::process_(uint8_t *buf, const size_t len) {
|
|||
}
|
||||
};
|
||||
void EbyteLoraComponent::loop() {
|
||||
this->store_.can_send = !this->pin_aux_->digital_read();
|
||||
if (auto len = this->available()) {
|
||||
uint8_t buf[len];
|
||||
this->read_array(buf, len);
|
||||
|
|
Loading…
Reference in a new issue