From 77dff35faefe18cc9cc567ec4428fd7f59ad4e24 Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Tue, 12 Nov 2019 18:18:32 -0500 Subject: 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 --- klippy/extras/tmc2660.py | 2 -- 1 file changed, 2 deletions(-) (limited to 'klippy/extras/tmc2660.py') 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) -- cgit v1.2.3-70-g09d2