瀏覽代碼

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

Marcio Teixeira 6 年之前
父節點
當前提交
724e9f56c8
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      Marlin/src/gcode/gcode.cpp

+ 1
- 1
Marlin/src/gcode/gcode.cpp 查看文件

@@ -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…
取消
儲存