aboutsummaryrefslogtreecommitdiffstats
path: root/klippy/extras/angle.py
diff options
context:
space:
mode:
authorAlex Voinea <voinea.dragos.alexandru@gmail.com>2023-02-26 11:52:03 +0100
committerKevin O'Connor <kevin@koconnor.net>2023-03-01 20:43:53 -0500
commit6b75f54e50139271ed76801e4551f215e693bc12 (patch)
treec634c8e6a7eab5ac16a443261890eac77471b5e3 /klippy/extras/angle.py
parente6ef48cdf7b7e23f422cbe0ec46091001b840674 (diff)
downloadkutter-6b75f54e50139271ed76801e4551f215e693bc12.tar.gz
kutter-6b75f54e50139271ed76801e4551f215e693bc12.tar.xz
kutter-6b75f54e50139271ed76801e4551f215e693bc12.zip
tmc2240: initial implementation
Signed-off-by: Alex Voinea <voinea.dragos.alexandru@gmail.com> Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'klippy/extras/angle.py')
-rw-r--r--klippy/extras/angle.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/klippy/extras/angle.py b/klippy/extras/angle.py
index d61a7634..2e17749e 100644
--- a/klippy/extras/angle.py
+++ b/klippy/extras/angle.py
@@ -9,7 +9,8 @@ from . import bus, motion_report
MIN_MSG_TIME = 0.100
TCODE_ERROR = 0xff
-TRINAMIC_DRIVERS = ["tmc2130", "tmc2208", "tmc2209", "tmc2660", "tmc5160"]
+TRINAMIC_DRIVERS = ["tmc2130", "tmc2208", "tmc2209", "tmc2240", "tmc2660",
+ "tmc5160"]
CALIBRATION_BITS = 6 # 64 entries
ANGLE_BITS = 16 # angles range from 0..65535