mirror of
https://github.com/esphome/esphome.git
synced 2024-11-28 09:44:12 +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;
|
bool pin_data_found = false;
|
||||||
if (!this->available())
|
if (!this->available())
|
||||||
return;
|
return;
|
||||||
|
ESP_LOGD(TAG, "Reading serial");
|
||||||
while (this->available()) {
|
while (this->available()) {
|
||||||
uint8_t c;
|
uint8_t c;
|
||||||
if (this->read_byte(&c)) {
|
if (this->read_byte(&c)) {
|
||||||
|
|
Loading…
Reference in a new issue