Use PGM_P for PSTR pointers (#11977)
This commit is contained in:
@ -28,7 +28,7 @@
|
||||
#endif
|
||||
|
||||
#if ENABLED(EXTENDED_CAPABILITIES_REPORT)
|
||||
static void cap_line(const char * const name, bool ena=false) {
|
||||
static void cap_line(PGM_P const name, bool ena=false) {
|
||||
SERIAL_PROTOCOLPGM("Cap:");
|
||||
serialprintPGM(name);
|
||||
SERIAL_CHAR(':');
|
||||
|
Reference in New Issue
Block a user