🎨 Apply F() to G-code report header
This commit is contained in:
@@ -103,12 +103,12 @@ axis_bits_t GcodeSuite::axis_relative = 0 LOGICAL_AXIS_GANG(
|
||||
#endif
|
||||
|
||||
void GcodeSuite::report_echo_start(const bool forReplay) { if (!forReplay) SERIAL_ECHO_START(); }
|
||||
void GcodeSuite::report_heading(const bool forReplay, PGM_P const pstr, const bool eol/*=true*/) {
|
||||
void GcodeSuite::report_heading(const bool forReplay, FSTR_P const fstr, const bool eol/*=true*/) {
|
||||
if (forReplay) return;
|
||||
if (pstr) {
|
||||
if (fstr) {
|
||||
SERIAL_ECHO_START();
|
||||
SERIAL_ECHOPGM("; ");
|
||||
SERIAL_ECHOPGM_P(pstr);
|
||||
SERIAL_ECHOF(fstr);
|
||||
}
|
||||
if (eol) { SERIAL_CHAR(':'); SERIAL_EOL(); }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user