aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimofey Titovets <nefelim4ag@gmail.com>2024-05-19 01:52:36 +0200
committerKevin O'Connor <kevin@koconnor.net>2024-05-21 20:31:23 -0400
commitb6a0063235dd58bc9c1bb5767e87e09c9927f39a (patch)
tree6cbb94895924e716cd1cf842ac9008d172e098fe
parent4a92727eab61349f2e24fd4296c7fb06740dffe9 (diff)
downloadkutter-b6a0063235dd58bc9c1bb5767e87e09c9927f39a.tar.gz
kutter-b6a0063235dd58bc9c1bb5767e87e09c9927f39a.tar.xz
kutter-b6a0063235dd58bc9c1bb5767e87e09c9927f39a.zip
tmc5160: csactual -> cs_actual
Correct the name of "cs_actual" and correct the size on tmc5160. Signed-off-by: Timofey Titovets <nefelim4ag@gmail.com> Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
-rw-r--r--klippy/extras/tmc2240.py2
-rw-r--r--klippy/extras/tmc5160.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/klippy/extras/tmc2240.py b/klippy/extras/tmc2240.py
index 1e2a4915..21c835e2 100644
--- a/klippy/extras/tmc2240.py
+++ b/klippy/extras/tmc2240.py
@@ -95,7 +95,7 @@ Fields["DRV_STATUS"] = {
"s2vsb": 0x01 << 13,
"stealth": 0x01 << 14,
"fsactive": 0x01 << 15,
- "csactual": 0x1F << 16,
+ "cs_actual": 0x1F << 16,
"stallguard": 0x01 << 24,
"ot": 0x01 << 25,
"otpw": 0x01 << 26,
diff --git a/klippy/extras/tmc5160.py b/klippy/extras/tmc5160.py
index 02e16cd4..b773135c 100644
--- a/klippy/extras/tmc5160.py
+++ b/klippy/extras/tmc5160.py
@@ -118,7 +118,7 @@ Fields["DRV_STATUS"] = {
"s2vsb": 0x01 << 13,
"stealth": 0x01 << 14,
"fsactive": 0x01 << 15,
- "csactual": 0xFF << 16,
+ "cs_actual": 0x1F << 16,
"stallguard": 0x01 << 24,
"ot": 0x01 << 25,
"otpw": 0x01 << 26,