mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2024-11-27 22:08:02 +00:00
Merge pull request #3343 from thinkyhead/rc_fix_m111_output
Fix M111 output using pgm_read_word, as required
This commit is contained in:
commit
de39056f68
@ -4380,7 +4380,7 @@ inline void gcode_M111() {
|
||||
for (uint8_t i = 0; i < COUNT(debug_strings); i++) {
|
||||
if (TEST(marlin_debug_flags, i)) {
|
||||
if (comma++) SERIAL_CHAR('|');
|
||||
serialprintPGM(debug_strings[i]);
|
||||
serialprintPGM((char*)pgm_read_word(&(debug_strings[i])));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user