mirror of
https://github.com/esphome/esphome.git
synced 2024-12-26 23:41:45 +01:00
Update lora.cpp
This commit is contained in:
parent
2ed4d2d69b
commit
f44126cede
1 changed files with 1 additions and 0 deletions
|
@ -154,6 +154,7 @@ void Lora::loop() {
|
|||
bool pin_data_found = false;
|
||||
if (!this->available())
|
||||
return;
|
||||
ESP_LOGD(TAG, "Reading serial");
|
||||
while (this->available()) {
|
||||
uint8_t c;
|
||||
if (this->read_byte(&c)) {
|
||||
|
|
Loading…
Reference in a new issue