aboutsummaryrefslogtreecommitdiffstats
path: root/klippy/extras/tmc2660.py
diff options
context:
space:
mode:
authorAlex Voinea <voinea.dragos.alexandru@gmail.com>2023-03-16 13:11:34 +0100
committerKevinOConnor <kevin@koconnor.net>2023-03-20 10:58:25 -0400
commit73f4c6cd0077310ca748c13f5a7e223989cfe92d (patch)
treefafa055e589ccb4c1aa4a10ede746d5af92386a6 /klippy/extras/tmc2660.py
parent0469710a69b36960442ae1b067c6631b696d4dd1 (diff)
downloadkutter-73f4c6cd0077310ca748c13f5a7e223989cfe92d.tar.gz
kutter-73f4c6cd0077310ca748c13f5a7e223989cfe92d.tar.xz
kutter-73f4c6cd0077310ca748c13f5a7e223989cfe92d.zip
tmc: SET_TMC_FIELD VELOCITY
Ability to specify `VELOCITY` as a parameter for SET_TMC_FIELD. Useful for configuring at runtime the TSTEP based fields of the driver. Signed-off-by: Alex Voinea <voinea.dragos.alexandru@gmail.com>
Diffstat (limited to 'klippy/extras/tmc2660.py')
-rw-r--r--klippy/extras/tmc2660.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/klippy/extras/tmc2660.py b/klippy/extras/tmc2660.py
index e873c608..dcffac75 100644
--- a/klippy/extras/tmc2660.py
+++ b/klippy/extras/tmc2660.py
@@ -221,6 +221,8 @@ class MCU_TMC2660_SPI:
msg = [((val >> 16) | reg) & 0xff, (val >> 8) & 0xff, val & 0xff]
with self.mutex:
self.spi.spi_send(msg, minclock)
+ def get_tmc_frequency(self):
+ return None
######################################################################