diff --git a/components/ratgdo/ratgdo.cpp b/components/ratgdo/ratgdo.cpp index 07adad4..71fbb17 100644 --- a/components/ratgdo/ratgdo.cpp +++ b/components/ratgdo/ratgdo.cpp @@ -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;