Browse Source

update

master
zhaohe 2 years ago
parent
commit
4e19f0d424
  1. 4
      components/step_motor_ctrl_module/step_motor_ctrl_module.cpp
  2. 2
      components/zprotocols/zcancmder_v2

4
components/step_motor_ctrl_module/step_motor_ctrl_module.cpp

@ -515,8 +515,8 @@ int32_t StepMotorCtrlModule::do_motor_action_block_2(function<int32_t()> action,
int count = 0; int count = 0;
while (!thisThread.getExitFlag()) { while (!thisThread.getExitFlag()) {
if (!isbusy()) break; if (!isbusy()) break;
thisThread.sleep(10);
count += 10;
thisThread.sleep(1);
count += 1;
if (break_condition) { if (break_condition) {
bool break_flag = false; bool break_flag = false;

2
components/zprotocols/zcancmder_v2

@ -1 +1 @@
Subproject commit f45f3d7f9e361ac6062cd6143016fa68cc4e602b
Subproject commit a054390521f3d534c96c4da175ca7784d0b9b6c3
Loading…
Cancel
Save