From 775a71db930f194845eafc5c7597a8fc62ad746a Mon Sep 17 00:00:00 2001 From: zhaohe Date: Thu, 5 Dec 2024 20:40:55 +0800 Subject: [PATCH] update --- usrc/module/tmc_motor_group.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/usrc/module/tmc_motor_group.cpp b/usrc/module/tmc_motor_group.cpp index d7d76eb..8c28348 100644 --- a/usrc/module/tmc_motor_group.cpp +++ b/usrc/module/tmc_motor_group.cpp @@ -179,9 +179,9 @@ void TmcMotorGroup::fn_pump_rotate(ProcessContext* cxt) { ZLOGI(TAG, "pump_rotate: %d %d", GET_PARAM(0), velocity); - motor(GET_PARAM(0))->enable(false); - motor(GET_PARAM(0))->refreshcfg(); - motor(GET_PARAM(0))->enable(true); + // motor(GET_PARAM(0))->enable(false); + // motor(GET_PARAM(0))->refreshcfg(); + // motor(GET_PARAM(0))->enable(true); motor(GET_PARAM(0))->rotate(velocity); zcanbus_send_ack(cxt->packet, NULL, 0);