From 871a01f4d4cb86464199da5056e716aeac834594 Mon Sep 17 00:00:00 2001 From: Pascal Serrarens Date: Mon, 2 Sep 2024 15:50:03 +0200 Subject: [PATCH] Removed blocking condition --- ServoMotor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ServoMotor.cpp b/ServoMotor.cpp index eef8e15..b7b3608 100644 --- a/ServoMotor.cpp +++ b/ServoMotor.cpp @@ -13,7 +13,7 @@ ServoMotor::ServoMotor() void ServoMotor::SetTargetAngle(Angle16 angle) { angle = Float::Clamp(angle.ToFloat(), minAngle.ToFloat(), maxAngle.ToFloat()); - if (maxVelocity == 0.0F || hasTargetAngle == false) { + if (maxVelocity == 0.0F) { SetAngle(angle); this->limitedTargetAngle = angle; }