From 724e9f56c800af038e607ee1d3e4185fa9f62eef Mon Sep 17 00:00:00 2001 From: Marcio Teixeira Date: Fri, 27 Apr 2018 16:48:52 -0600 Subject: [PATCH] Removed "const" to match parser. (#10548) --- Marlin/src/gcode/gcode.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Marlin/src/gcode/gcode.cpp b/Marlin/src/gcode/gcode.cpp index 3a24f62479..cd393f4e4d 100644 --- a/Marlin/src/gcode/gcode.cpp +++ b/Marlin/src/gcode/gcode.cpp @@ -705,7 +705,7 @@ void GcodeSuite::process_next_command() { */ void GcodeSuite::process_subcommands_now_P(const char *pgcode) { // Save the parser state - const char * const saved_cmd = parser.command_ptr; + char * const saved_cmd = parser.command_ptr; // Process individual commands in string while (pgm_read_byte_near(pgcode)) {