Show '*' for zero 'stst' flag

2.0.x
Scott Lahteine 5 years ago
parent 72fae2faa5
commit ddce1c6ef2

@ -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;

Loading…
Cancel
Save