Extend SERIAL_CHAR to take multiple arguments
This commit is contained in:
@ -471,7 +471,7 @@ void _O2 Endstops::report_states() {
|
||||
#endif
|
||||
}
|
||||
SERIAL_ECHOPGM(MSG_FILAMENT_RUNOUT_SENSOR);
|
||||
if (i > 1) { SERIAL_CHAR(' '); SERIAL_CHAR('0' + i); }
|
||||
if (i > 1) SERIAL_CHAR(' ', '0' + i);
|
||||
print_es_state(extDigitalRead(pin) != FIL_RUNOUT_INVERTING);
|
||||
}
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user