From d3b5b985f4c02af885af57aba159349255f56b6e Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Mon, 5 Jun 2023 18:30:16 -0500 Subject: [PATCH] fix --- components/ratgdo/ratgdo.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/ratgdo/ratgdo.cpp b/components/ratgdo/ratgdo.cpp index 1946df6..355adc3 100644 --- a/components/ratgdo/ratgdo.cpp +++ b/components/ratgdo/ratgdo.cpp @@ -400,7 +400,7 @@ namespace ratgdo { void RATGDOComponent::sendMotionStatus(){ ESP_LOGD(TAG, "Motion state %d", this->store_.motionState); - motionState = 0; // reset motion state + this->store_.motionState = 0; // reset motion state } void RATGDOComponent::sendObstructionStatus(){