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/tmc2208.py | 2 -- 1 file changed, 2 deletions(-) (limited to 'klippy/extras/tmc2208.py') 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) -- cgit v1.2.3-70-g09d2