tmc2130: Report CS_ACTUAL in DUMP_TMC even if zero

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
Kevin O'Connor 2021-03-16 11:30:24 -04:00
parent 22753f3b38
commit 6ebdc48b7c
1 changed files with 1 additions and 0 deletions

View File

@ -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?)"),
}