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/tmc2208.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/tmc2208.py')
-rw-r--r-- | klippy/extras/tmc2208.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/klippy/extras/tmc2208.py b/klippy/extras/tmc2208.py index 93a4aee9..fa55fd70 100644 --- a/klippy/extras/tmc2208.py +++ b/klippy/extras/tmc2208.py @@ -187,8 +187,6 @@ class TMC2208: # Setup mcu communication self.fields = tmc.FieldHelper(Fields, SignedFields, FieldFormatters) self.mcu_tmc = tmc_uart.MCU_TMC_uart(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, self.read_translate) |