fix typo
This commit is contained in:
parent
6b631d2754
commit
040364c10d
|
@ -316,7 +316,7 @@ namespace ratgdo {
|
||||||
}
|
}
|
||||||
this->previousMotorState = this->motorState;
|
this->previousMotorState = this->motorState;
|
||||||
}
|
}
|
||||||
if (this->motionState == this->previousMotionState) {
|
if (this->motionState != this->previousMotionState) {
|
||||||
MotionState val = static_cast<MotionState>(this->motionState);
|
MotionState val = static_cast<MotionState>(this->motionState);
|
||||||
ESP_LOGD(TAG, "Motion state %s", motion_state_to_string(val));
|
ESP_LOGD(TAG, "Motion state %s", motion_state_to_string(val));
|
||||||
for (auto* child : this->children_) {
|
for (auto* child : this->children_) {
|
||||||
|
|
Loading…
Reference in New Issue