From 73f4c6cd0077310ca748c13f5a7e223989cfe92d Mon Sep 17 00:00:00 2001 From: Alex Voinea Date: Thu, 16 Mar 2023 13:11:34 +0100 Subject: 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 --- klippy/extras/tmc2660.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'klippy/extras/tmc2660.py') 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 ###################################################################### -- cgit v1.2.3-70-g09d2