Skip to content
Snippets Groups Projects
Commit ddce1c6e authored by Scott Lahteine's avatar Scott Lahteine
Browse files

Show '*' for zero 'stst' flag

parent 72fae2fa
Branches
Tags
No related merge requests found
...@@ -723,7 +723,7 @@ ...@@ -723,7 +723,7 @@
SERIAL_CHAR('\t'); SERIAL_CHAR('\t');
switch (i) { switch (i) {
case TMC_DRV_CODES: st.printLabel(); break; case TMC_DRV_CODES: st.printLabel(); break;
case TMC_STST: if (st.stst()) SERIAL_CHAR('*'); break; case TMC_STST: if (!st.stst()) SERIAL_CHAR('*'); break;
case TMC_OLB: if (st.olb()) SERIAL_CHAR('*'); break; case TMC_OLB: if (st.olb()) SERIAL_CHAR('*'); break;
case TMC_OLA: if (st.ola()) SERIAL_CHAR('*'); break; case TMC_OLA: if (st.ola()) SERIAL_CHAR('*'); break;
case TMC_S2GB: if (st.s2gb()) SERIAL_CHAR('*'); break; case TMC_S2GB: if (st.s2gb()) SERIAL_CHAR('*'); break;
... ...
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment