Browse Source

Removed "const" to match parser. (#10548)

Marcio Teixeira 6 years ago
parent
commit
724e9f56c8
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Marlin/src/gcode/gcode.cpp

+ 1
- 1
Marlin/src/gcode/gcode.cpp View File

@@ -705,7 +705,7 @@ void GcodeSuite::process_next_command() {
705 705
    */
706 706
   void GcodeSuite::process_subcommands_now_P(const char *pgcode) {
707 707
     // Save the parser state
708
-    const char * const saved_cmd = parser.command_ptr;
708
+    char * const saved_cmd = parser.command_ptr;
709 709
 
710 710
     // Process individual commands in string
711 711
     while (pgm_read_byte_near(pgcode)) {

Loading…
Cancel
Save