diff --git a/usrc/module/tmc_motor_group.cpp b/usrc/module/tmc_motor_group.cpp index fe387a5..b5aa993 100644 --- a/usrc/module/tmc_motor_group.cpp +++ b/usrc/module/tmc_motor_group.cpp @@ -198,7 +198,8 @@ void TmcMotorGroup::fn_pump_rotate(ProcessContext* cxt) { motor(GET_PARAM(0))->enable(false); motor(GET_PARAM(0))->refreshcfg(); motor(GET_PARAM(0))->enable(true); - motor(GET_PARAM(0))->rotate(velocity); + // motor(GET_PARAM(0))->rotate(velocity); + motor(GET_PARAM(0))->moveToEnd(velocity, abs(velocity)); zcanbus_send_ack(cxt->packet, NULL, 0); motorErrorFlag_set(GET_PARAM(0), false);