From 74df543656b6e7a2a1dd0b1654c745aad64d50bf Mon Sep 17 00:00:00 2001 From: zhaohe Date: Wed, 6 Sep 2023 05:42:10 +0800 Subject: [PATCH] update --- components/step_motor_45/step_motor_45.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/step_motor_45/step_motor_45.cpp b/components/step_motor_45/step_motor_45.cpp index 10cbe4e..faa0f4c 100644 --- a/components/step_motor_45/step_motor_45.cpp +++ b/components/step_motor_45/step_motor_45.cpp @@ -231,7 +231,7 @@ bool StepMotor45::isReachTargetPos() { if (posmode) { return m_pos == m_targetPos; } - return false; + return true; } bool StepMotor45::getzeropinstate() {