🎨 Apply F() to G-code report header
This commit is contained in:
@ -3037,7 +3037,7 @@ void MarlinSettings::reset() {
|
||||
#define CONFIG_ECHO_START() gcode.report_echo_start(forReplay)
|
||||
#define CONFIG_ECHO_MSG(V...) do{ CONFIG_ECHO_START(); SERIAL_ECHOLNPGM(V); }while(0)
|
||||
#define CONFIG_ECHO_MSG_P(V...) do{ CONFIG_ECHO_START(); SERIAL_ECHOLNPGM_P(V); }while(0)
|
||||
#define CONFIG_ECHO_HEADING(STR) gcode.report_heading(forReplay, PSTR(STR))
|
||||
#define CONFIG_ECHO_HEADING(STR) gcode.report_heading(forReplay, F(STR))
|
||||
|
||||
void M92_report(const bool echo=true, const int8_t e=-1);
|
||||
|
||||
|
@ -1727,7 +1727,7 @@ void Temperature::manage_heater() {
|
||||
}
|
||||
|
||||
void Temperature::M305_report(const uint8_t t_index, const bool forReplay/*=true*/) {
|
||||
gcode.report_heading_etc(forReplay, PSTR(STR_USER_THERMISTORS));
|
||||
gcode.report_heading_etc(forReplay, F(STR_USER_THERMISTORS));
|
||||
SERIAL_ECHOPGM(" M305 P", AS_DIGIT(t_index));
|
||||
|
||||
const user_thermistor_t &t = user_thermistor[t_index];
|
||||
|
Reference in New Issue
Block a user