Use PGM_P for PSTR pointers (#11977)

This commit is contained in:
Scott Lahteine authored and GitHub committed 2018-09-30 23:44:33 -05:00
1 parent 4d5566a6b7
commit 11ac75edcb
39 files changed
+166 -165

No files matched your search

+1 -1
View File
@@ -599,7 +599,7 @@ void idle(
* Kill all activity and lock the machine.
* After this the machine will need to be reset.
*/
void kill(const char* lcd_msg) {
void kill(PGM_P lcd_msg) {
SERIAL_ERROR_START();
SERIAL_ERRORLNPGM(MSG_ERR_KILLED);