| 100 | void SERIAL_ECHO_SP(uint8_t count) { count *= (PROPORTIONAL_FONT_RATIO); while (count--) SERIAL_CHAR(' '); } |
| 101 | |
| 102 | void serial_offset(const_float_t v, const uint8_t sp/*=0*/) { |
| 103 | if (v == 0 && sp == 1) |
| 104 | SERIAL_CHAR(' '); |
| 105 | else if (v > 0 || (v == 0 && sp == 2)) |
| 106 | SERIAL_CHAR('+'); |
| 107 | SERIAL_ECHO(v); |
| 108 | } |
| 109 | |
| 110 | void serial_ternary(FSTR_P const pre, const bool onoff, FSTR_P const on, FSTR_P const off, FSTR_P const post/*=nullptr*/) { |
| 111 | if (pre) SERIAL_ECHO(pre); |
no test coverage detected