diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2019-11-12 18:18:32 -0500 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2019-11-12 18:45:31 -0500 |
commit | 77dff35faefe18cc9cc567ec4428fd7f59ad4e24 (patch) | |
tree | 98b30042a7d20fd9b236bf24175fd341f4ed3b56 /klippy/extras/tmc2660.py | |
parent | a4995c61c986d947af03b6f90c945cfcf8577811 (diff) | |
download | kutter-77dff35faefe18cc9cc567ec4428fd7f59ad4e24.tar.gz kutter-77dff35faefe18cc9cc567ec4428fd7f59ad4e24.tar.xz kutter-77dff35faefe18cc9cc567ec4428fd7f59ad4e24.zip |
tmc: Remove virtual_enable support and replace with automatic support
Automatically detect if the stepper has a dedicated enable line. If
it does not, then automatically enable virtual enable support.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'klippy/extras/tmc2660.py')
-rw-r--r-- | klippy/extras/tmc2660.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/klippy/extras/tmc2660.py b/klippy/extras/tmc2660.py index 056ccfe1..95321056 100644 --- a/klippy/extras/tmc2660.py +++ b/klippy/extras/tmc2660.py @@ -242,8 +242,6 @@ class TMC2660: self.fields = tmc.FieldHelper(Fields, SignedFields, FieldFormatters) self.fields.set_field("SDOFF", 0) # Access DRVCTRL in step/dir mode self.mcu_tmc = MCU_TMC2660_SPI(config, Registers, self.fields) - # Allow virtual pins to be created - tmc.TMCVirtualPinHelper(config, self.mcu_tmc) # Register commands cmdhelper = tmc.TMCCommandHelper(config, self.mcu_tmc) cmdhelper.setup_register_dump(ReadRegisters) |