diff options
author | Trevor Jones <trevjonez@users.noreply.github.com> | 2020-08-09 06:17:51 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-09 08:17:51 -0400 |
commit | efebbb9a2f7e43eee1d4a68b9d3821a2f3ca0b76 (patch) | |
tree | 69764c8d9d1f11b6fd16ee80c9dab89ae37cc073 /klippy/extras/tmc5160.py | |
parent | ea5e76746a8f0ea72d014b715ac4712bd47513de (diff) | |
download | kutter-efebbb9a2f7e43eee1d4a68b9d3821a2f3ca0b76.tar.gz kutter-efebbb9a2f7e43eee1d4a68b9d3821a2f3ca0b76.tar.xz kutter-efebbb9a2f7e43eee1d4a68b9d3821a2f3ca0b76.zip |
tmc5160: diag0 support (#3159)
Allow for diag0 only hardware to use sensorless homing.
Signed-off-by: Trevor Jones <trevorjones141@gmail.com>
Diffstat (limited to 'klippy/extras/tmc5160.py')
-rw-r--r-- | klippy/extras/tmc5160.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/klippy/extras/tmc5160.py b/klippy/extras/tmc5160.py index e02ae7a1..b4ef6a68 100644 --- a/klippy/extras/tmc5160.py +++ b/klippy/extras/tmc5160.py @@ -309,8 +309,7 @@ class TMC5160: self.fields = tmc.FieldHelper(Fields, SignedFields, FieldFormatters) self.mcu_tmc = tmc2130.MCU_TMC_SPI(config, Registers, self.fields) # Allow virtual pins to be created - diag1_pin = config.get('diag1_pin', None) - tmc.TMCVirtualPinHelper(config, self.mcu_tmc, diag1_pin) + tmc.TMCVirtualPinHelper(config, self.mcu_tmc) # Register commands cmdhelper = tmc.TMCCommandHelper(config, self.mcu_tmc) cmdhelper.setup_register_dump(ReadRegisters) |