From 587db5c315f856f5d62328725b7b73659677e34f Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Tue, 18 Jun 2019 13:24:54 -0400 Subject: [PATCH] tmc2660: Don't allow configuration of DEDGE Setting DEDGE would just break the code. Signed-off-by: Kevin O'Connor --- config/example-extras.cfg | 1 - klippy/extras/tmc2660.py | 1 - 2 files changed, 2 deletions(-) diff --git a/config/example-extras.cfg b/config/example-extras.cfg index 7322e9bb..c3c4c30f 100644 --- a/config/example-extras.cfg +++ b/config/example-extras.cfg @@ -1104,7 +1104,6 @@ # their position. There is also small delay until the current is # raised again, so take this into account when commanding fast moves # while the stepper is idling. The default is 100 (no reduction). -#driver_DEDGE: 0 #driver_TBL: 2 #driver_RNDTF: 0 #driver_HDEC: 0 diff --git a/klippy/extras/tmc2660.py b/klippy/extras/tmc2660.py index 814346c6..1ff1b501 100644 --- a/klippy/extras/tmc2660.py +++ b/klippy/extras/tmc2660.py @@ -242,7 +242,6 @@ class TMC2660: self.get_microsteps = mh.get_microsteps self.get_phase = mh.get_phase set_config_field = self.fields.set_config_field - set_config_field(config, "DEDGE", 0) set_config_field(config, "INTPOL", True, 'interpolate') # CHOPCONF set_config_field(config, "TBL", 2)