mirror of https://github.com/Desuuuu/klipper.git
tmc2660: Don't allow configuration of DEDGE
Setting DEDGE would just break the code. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
parent
49c36f868b
commit
587db5c315
|
@ -1104,7 +1104,6 @@
|
||||||
# their position. There is also small delay until the current is
|
# their position. There is also small delay until the current is
|
||||||
# raised again, so take this into account when commanding fast moves
|
# raised again, so take this into account when commanding fast moves
|
||||||
# while the stepper is idling. The default is 100 (no reduction).
|
# while the stepper is idling. The default is 100 (no reduction).
|
||||||
#driver_DEDGE: 0
|
|
||||||
#driver_TBL: 2
|
#driver_TBL: 2
|
||||||
#driver_RNDTF: 0
|
#driver_RNDTF: 0
|
||||||
#driver_HDEC: 0
|
#driver_HDEC: 0
|
||||||
|
|
|
@ -242,7 +242,6 @@ class TMC2660:
|
||||||
self.get_microsteps = mh.get_microsteps
|
self.get_microsteps = mh.get_microsteps
|
||||||
self.get_phase = mh.get_phase
|
self.get_phase = mh.get_phase
|
||||||
set_config_field = self.fields.set_config_field
|
set_config_field = self.fields.set_config_field
|
||||||
set_config_field(config, "DEDGE", 0)
|
|
||||||
set_config_field(config, "INTPOL", True, 'interpolate')
|
set_config_field(config, "INTPOL", True, 'interpolate')
|
||||||
# CHOPCONF
|
# CHOPCONF
|
||||||
set_config_field(config, "TBL", 2)
|
set_config_field(config, "TBL", 2)
|
||||||
|
|
Loading…
Reference in New Issue