|
@ -480,8 +480,8 @@ int32_t StepMotorCtrlModule::step_motor_easy_reciprocating_motion(int32_t startp |
|
|
int32_t ecode = check_befor_run(); |
|
|
int32_t ecode = check_befor_run(); |
|
|
if (ecode != 0) return ecode; |
|
|
if (ecode != 0) return ecode; |
|
|
|
|
|
|
|
|
int32_t x_startpos; |
|
|
|
|
|
int32_t x_endpos; |
|
|
|
|
|
|
|
|
int32_t x_startpos = startpos; |
|
|
|
|
|
int32_t x_endpos = endpos; |
|
|
int32_t x_beginpos; |
|
|
int32_t x_beginpos; |
|
|
getnowpos(x_beginpos); |
|
|
getnowpos(x_beginpos); |
|
|
|
|
|
|
|
|