diff --git a/components/ratgdo/ratgdo.cpp b/components/ratgdo/ratgdo.cpp index 3625d5f..d0dc210 100644 --- a/components/ratgdo/ratgdo.cpp +++ b/components/ratgdo/ratgdo.cpp @@ -300,7 +300,7 @@ namespace ratgdo { } // Wait 5 pulses before updating to door opening status - if (this->store_.>doorPositionCounter - lastDirectionChangeCounter > 5) { + if (this->store_.doorPositionCounter - lastDirectionChangeCounter > 5) { if (this->doorState != "opening") { ESP_LOGD(TAG, "Door Opening..."); }