This commit is contained in:
J. Nick Koston 2023-06-09 18:25:07 -05:00
parent 1ac1c54841
commit 69b87e6318
No known key found for this signature in database
1 changed files with 48 additions and 47 deletions

View File

@ -225,8 +225,10 @@ namespace ratgdo {
static uint16_t byteCount = 0;
static bool isStatus = false;
while (this->available()) {
if (!this->available()) {
// ESP_LOGD(TAG, "No data available input:%d output:%d", this->input_gdo_pin_->get_pin(), this->output_gdo_pin_->get_pin());
return;
}
uint8_t serData;
if (!this->read_byte(&serData)) {
ESP_LOGD(TAG, "Failed to read byte");
@ -280,7 +282,6 @@ namespace ratgdo {
}
}
}
}
void RATGDOComponent::statusUpdateLoop()
{