From 6ebdc48b7c11dd1bb3502b72ab95aab5c3d287da Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Tue, 16 Mar 2021 11:30:24 -0400 Subject: [PATCH] tmc2130: Report CS_ACTUAL in DUMP_TMC even if zero Signed-off-by: Kevin O'Connor --- klippy/extras/tmc2130.py | 1 + 1 file changed, 1 insertion(+) diff --git a/klippy/extras/tmc2130.py b/klippy/extras/tmc2130.py index e789301a..bb93cff8 100644 --- a/klippy/extras/tmc2130.py +++ b/klippy/extras/tmc2130.py @@ -85,6 +85,7 @@ FieldFormatters = { "s2gb": (lambda v: "1(ShortToGND_B!)" if v else ""), "ola": (lambda v: "1(OpenLoad_A!)" if v else ""), "olb": (lambda v: "1(OpenLoad_B!)" if v else ""), + "CS_ACTUAL": (lambda v: ("%d" % v) if v else "0(Reset?)"), }