From b6a0063235dd58bc9c1bb5767e87e09c9927f39a Mon Sep 17 00:00:00 2001 From: Timofey Titovets Date: Sun, 19 May 2024 01:52:36 +0200 Subject: tmc5160: csactual -> cs_actual Correct the name of "cs_actual" and correct the size on tmc5160. Signed-off-by: Timofey Titovets Signed-off-by: Kevin O'Connor --- klippy/extras/tmc5160.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'klippy/extras/tmc5160.py') 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, -- cgit v1.2.3-70-g09d2