diff --git a/sdk b/sdk index 108101c..e355909 160000 --- a/sdk +++ b/sdk @@ -1 +1 @@ -Subproject commit 108101c24780ceeabbd7dbaa380467fbabf0060a +Subproject commit e3559098645e997ea385ef61f9da037193a2c432 diff --git a/usrc/step_motor_cmd_reg.cpp b/usrc/step_motor_cmd_reg.cpp index 2a27a60..7f47ce1 100644 --- a/usrc/step_motor_cmd_reg.cpp +++ b/usrc/step_motor_cmd_reg.cpp @@ -76,7 +76,7 @@ void step_motor_cmd_reg() { return; } while (true) { - if (g_step_motor45[motorid].isReachTargetPos()) { + if (g_step_motor45[motorid].is_reach_target_pos()) { break; } ZLOGI(TAG, "stepmotor45_wait_to_reach_pos %d", motorid);