Small update
This commit is contained in:
parent
21ce7fb613
commit
8ed74fd7ae
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue