Use PGM_P for PSTR pointers (#11977)
This commit is contained in:
@@ -108,7 +108,7 @@ void ac_cleanup(
|
||||
#endif
|
||||
}
|
||||
|
||||
void print_signed_float(const char * const prefix, const float &f) {
|
||||
void print_signed_float(PGM_P const prefix, const float &f) {
|
||||
SERIAL_PROTOCOLPGM(" ");
|
||||
serialprintPGM(prefix);
|
||||
SERIAL_PROTOCOLCHAR(':');
|
||||
@@ -517,7 +517,7 @@ void GcodeSuite::G33() {
|
||||
}
|
||||
|
||||
// Report settings
|
||||
const char* checkingac = PSTR("Checking... AC");
|
||||
PGM_P checkingac = PSTR("Checking... AC");
|
||||
serialprintPGM(checkingac);
|
||||
if (verbose_level == 0) SERIAL_PROTOCOLPGM(" (DRY-RUN)");
|
||||
if (set_up) SERIAL_PROTOCOLPGM(" (SET-UP)");
|
||||
@@ -705,7 +705,7 @@ void GcodeSuite::G33() {
|
||||
}
|
||||
}
|
||||
else { // dry run
|
||||
const char *enddryrun = PSTR("End DRY-RUN");
|
||||
PGM_P enddryrun = PSTR("End DRY-RUN");
|
||||
serialprintPGM(enddryrun);
|
||||
SERIAL_PROTOCOL_SP(35);
|
||||
SERIAL_PROTOCOLPGM("std dev:");
|
||||
|
Reference in New Issue
Block a user