aboutsummaryrefslogtreecommitdiffstats
path: root/klippy/extras/tmc2660.py
diff options
context:
space:
mode:
Diffstat (limited to 'klippy/extras/tmc2660.py')
-rw-r--r--klippy/extras/tmc2660.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/klippy/extras/tmc2660.py b/klippy/extras/tmc2660.py
index 2135f356..fbc9b2bc 100644
--- a/klippy/extras/tmc2660.py
+++ b/klippy/extras/tmc2660.py
@@ -186,8 +186,8 @@ class TMC2660:
set_config_field(config, "SGT", 0)
self.current = config.getfloat('run_current', minval=0.1,
maxval=2.4)
- self.driver_cs = current_to_reg(self.current,
- self.sense_resistor, self.fields.get_field("VSENSE"))
+ self.driver_cs = current_to_reg(self.current, self.sense_resistor,
+ self.fields.get_field("VSENSE"))
self.fields.set_field("CS", self.driver_cs)
# Init Registers