From 1b86b478ab01fdc170f327af79eeb432badc9820 Mon Sep 17 00:00:00 2001 From: zhaohe Date: Mon, 25 Sep 2023 14:06:01 +0800 Subject: [PATCH] udpate --- components/tmc/ic/ztmc4361A.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/tmc/ic/ztmc4361A.cpp b/components/tmc/ic/ztmc4361A.cpp index 20fcc04..09435b9 100644 --- a/components/tmc/ic/ztmc4361A.cpp +++ b/components/tmc/ic/ztmc4361A.cpp @@ -197,7 +197,7 @@ void TMC4361A::initialize(cfg_t *cfg) { zchip_clock_early_delayus(300 * 1000); zchip_clock_early_delayus(300 * 1000); - driverIC_setIHOLD_IRUN(1, 3, 0); // 注意要先设置IHOLD再设置IRUN,否则电机跑不起来 + driverIC_setIHOLD_IRUN(1, 3, 0); } uint8_t TMC4361A::reset() { // Pulse the low-active hardware reset pin