From 189fd81c7b00aee87c73aa15cf5487346a8d14ba Mon Sep 17 00:00:00 2001 From: zhaohe Date: Fri, 28 Jun 2024 09:18:47 +0800 Subject: [PATCH] update --- components/tmc/ic/ztmc5130.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/components/tmc/ic/ztmc5130.cpp b/components/tmc/ic/ztmc5130.cpp index b17adb5..49c0368 100644 --- a/components/tmc/ic/ztmc5130.cpp +++ b/components/tmc/ic/ztmc5130.cpp @@ -306,6 +306,7 @@ int32_t TMC51X0::to_motor_pos(int32_t pos) { // int32_t TMC51X0::to_user_pos(int32_t pos) { // int32_t val = pos / m_onecirclepulse * m_scale / m_scale_deceleration + 0.5; + // ZLOGI("TMC5130", "to_user_pos %d,%d", pos, val); return val; } // int32_t TMC51X0::to_user_vel(int32_t vel) { //