This commit is contained in:
J. Nick Koston 2023-06-07 21:43:16 -05:00
parent af98ccff52
commit 2ed727ac93
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

@ -502,7 +502,7 @@ namespace ratgdo {
void RATGDOComponent::sendMotorStatus()
{
MotorState val = static_cast<MotorState>(this->MotorState);
MotorState val = static_cast<MotorState>(this->motorState);
ESP_LOGD(TAG, "Motor state %s", motor_state_to_string(val));
for (auto* child : this->children_) {
child->on_motor_state(val);