🎨 Apply F() to G-code report header
This commit is contained in:
@ -61,7 +61,7 @@ void GcodeSuite::M145() {
|
||||
}
|
||||
|
||||
void GcodeSuite::M145_report(const bool forReplay/*=true*/) {
|
||||
report_heading(forReplay, PSTR(STR_MATERIAL_HEATUP));
|
||||
report_heading(forReplay, F(STR_MATERIAL_HEATUP));
|
||||
LOOP_L_N(i, PREHEAT_COUNT) {
|
||||
report_echo_start(forReplay);
|
||||
SERIAL_ECHOLNPGM_P(
|
||||
|
@ -38,7 +38,7 @@ void GcodeSuite::M250() {
|
||||
}
|
||||
|
||||
void GcodeSuite::M250_report(const bool forReplay/*=true*/) {
|
||||
report_heading_etc(forReplay, PSTR(STR_LCD_CONTRAST));
|
||||
report_heading_etc(forReplay, F(STR_LCD_CONTRAST));
|
||||
SERIAL_ECHOLNPGM(" M250 C", ui.contrast);
|
||||
}
|
||||
|
||||
|
@ -37,7 +37,7 @@ void GcodeSuite::M256() {
|
||||
}
|
||||
|
||||
void GcodeSuite::M256_report(const bool forReplay/*=true*/) {
|
||||
report_heading_etc(forReplay, PSTR(STR_LCD_BRIGHTNESS));
|
||||
report_heading_etc(forReplay, F(STR_LCD_BRIGHTNESS));
|
||||
SERIAL_ECHOLNPGM(" M256 B", ui.brightness);
|
||||
}
|
||||
|
||||
|
@ -44,7 +44,7 @@ void GcodeSuite::M414() {
|
||||
}
|
||||
|
||||
void GcodeSuite::M414_report(const bool forReplay/*=true*/) {
|
||||
report_heading_etc(forReplay, PSTR(STR_UI_LANGUAGE));
|
||||
report_heading_etc(forReplay, F(STR_UI_LANGUAGE));
|
||||
SERIAL_ECHOLNPGM(" M414 S", ui.language);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user