fix
This commit is contained in:
parent
d0bafa7d02
commit
23183ba35c
|
@ -295,7 +295,10 @@ namespace ratgdo {
|
|||
}
|
||||
|
||||
void RATGDOComponent::gdoStateLoop(){
|
||||
if(!this->swSerial.available()) return;
|
||||
if(!this->swSerial.available()) {
|
||||
ESP_LOGD(TAG, "No data available")
|
||||
return;
|
||||
}
|
||||
uint8_t serData = this->swSerial.read();
|
||||
|
||||
static uint32_t msgStart;
|
||||
|
|
Loading…
Reference in New Issue