diff --git a/klippy/extras/tmc2240.py b/klippy/extras/tmc2240.py index 4503590c5..3c8665a27 100644 --- a/klippy/extras/tmc2240.py +++ b/klippy/extras/tmc2240.py @@ -115,7 +115,7 @@ "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 80372b7dc..1477ba84f 100644 --- a/klippy/extras/tmc5160.py +++ b/klippy/extras/tmc5160.py @@ -129,7 +129,7 @@ "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, @@ -140,6 +140,7 @@ "stst": 0x01 << 31, } Fields["FACTORY_CONF"] = {"factory_conf": 0x1F << 0} +Fields["FACTORY_CONF"] = {"factory_conf": 0x1F << 0} Fields["GCONF"] = { "recalibrate": 0x01 << 0, "faststandstill": 0x01 << 1,