Small update

This commit is contained in:
Marius Muja 2024-01-20 17:03:15 -08:00
parent 21ce7fb613
commit 8ed74fd7ae
1 changed files with 1 additions and 1 deletions

View File

@ -332,7 +332,7 @@ namespace ratgdo {
}
auto position = this->door_start_position + (now - this->door_start_moving) / (1000 * duration);
this->door_position = clamp(position, 0.0f, 1.0f);
ESP_LOG2(TAG, "[%d] Position update: %f", now, position);
ESP_LOG2(TAG, "[%d] Position update: %f", now, *this->door_position);
}
void RATGDOComponent::set_opening_duration(float duration)