tmc2130: Report CS_ACTUAL in DUMP_TMC even if zero
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
parent
22753f3b38
commit
6ebdc48b7c
|
@ -85,6 +85,7 @@ FieldFormatters = {
|
||||||
"s2gb": (lambda v: "1(ShortToGND_B!)" if v else ""),
|
"s2gb": (lambda v: "1(ShortToGND_B!)" if v else ""),
|
||||||
"ola": (lambda v: "1(OpenLoad_A!)" if v else ""),
|
"ola": (lambda v: "1(OpenLoad_A!)" if v else ""),
|
||||||
"olb": (lambda v: "1(OpenLoad_B!)" if v else ""),
|
"olb": (lambda v: "1(OpenLoad_B!)" if v else ""),
|
||||||
|
"CS_ACTUAL": (lambda v: ("%d" % v) if v else "0(Reset?)"),
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue