From a97312242048934508af8345e45a18694111c78b Mon Sep 17 00:00:00 2001 From: Andy Sigler Date: Fri, 17 Nov 2023 09:16:03 -0500 Subject: [PATCH] pipette motor driver can use a non-zero dwell current --- pipettes/firmware/motor_configurations.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pipettes/firmware/motor_configurations.cpp b/pipettes/firmware/motor_configurations.cpp index 425cd544b..1107e4df6 100644 --- a/pipettes/firmware/motor_configurations.cpp +++ b/pipettes/firmware/motor_configurations.cpp @@ -99,7 +99,7 @@ auto motor_configs::driver_config_by_axis(TMC2130PipetteAxis which) case TMC2130PipetteAxis::linear_motor: default: return tmc2130::configs::TMC2130DriverConfig{ - .registers = {.gconfig = {.en_pwm_mode = 1}, + .registers = {.gconfig = {.en_pwm_mode = 0}, .ihold_irun = {.hold_current = 0x2, .run_current = 0x10, .hold_current_delay = 0x7},