From 4e19f0d42487fa5afacea047aadccffdbaf73aff Mon Sep 17 00:00:00 2001 From: zhaohe Date: Sun, 5 Nov 2023 16:08:19 +0800 Subject: [PATCH] update --- components/step_motor_ctrl_module/step_motor_ctrl_module.cpp | 4 ++-- components/zprotocols/zcancmder_v2 | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/components/step_motor_ctrl_module/step_motor_ctrl_module.cpp b/components/step_motor_ctrl_module/step_motor_ctrl_module.cpp index 262a25e..f0351de 100644 --- a/components/step_motor_ctrl_module/step_motor_ctrl_module.cpp +++ b/components/step_motor_ctrl_module/step_motor_ctrl_module.cpp @@ -515,8 +515,8 @@ int32_t StepMotorCtrlModule::do_motor_action_block_2(function action, int count = 0; while (!thisThread.getExitFlag()) { if (!isbusy()) break; - thisThread.sleep(10); - count += 10; + thisThread.sleep(1); + count += 1; if (break_condition) { bool break_flag = false; diff --git a/components/zprotocols/zcancmder_v2 b/components/zprotocols/zcancmder_v2 index f45f3d7..a054390 160000 --- a/components/zprotocols/zcancmder_v2 +++ b/components/zprotocols/zcancmder_v2 @@ -1 +1 @@ -Subproject commit f45f3d7f9e361ac6062cd6143016fa68cc4e602b +Subproject commit a054390521f3d534c96c4da175ca7784d0b9b6c3