This commit is contained in:
J. Nick Koston 2023-06-09 19:39:03 -05:00
parent 6b631d2754
commit 040364c10d
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

@ -316,7 +316,7 @@ namespace ratgdo {
}
this->previousMotorState = this->motorState;
}
if (this->motionState == this->previousMotionState) {
if (this->motionState != this->previousMotionState) {
MotionState val = static_cast<MotionState>(this->motionState);
ESP_LOGD(TAG, "Motion state %s", motion_state_to_string(val));
for (auto* child : this->children_) {