Scott Lahteine 9 years ago
parent
commit
fd0ac371b0
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Marlin/Marlin_main.cpp

+ 1
- 1
Marlin/Marlin_main.cpp View File

4373
     for (uint8_t i = 0; i < COUNT(debug_strings); i++) {
4373
     for (uint8_t i = 0; i < COUNT(debug_strings); i++) {
4374
       if (TEST(marlin_debug_flags, i)) {
4374
       if (TEST(marlin_debug_flags, i)) {
4375
         if (comma++) SERIAL_CHAR('|');
4375
         if (comma++) SERIAL_CHAR('|');
4376
-        serialprintPGM(debug_strings[i]);
4376
+        serialprintPGM((char*)pgm_read_word(&(debug_strings[i])));
4377
       }
4377
       }
4378
     }
4378
     }
4379
   }
4379
   }

Loading…
Cancel
Save