瀏覽代碼

Merge pull request #2142 from thinkyhead/fix_command_parser_M110

No need for +1 on initial seen_pointer
Scott Lahteine 10 年之前
父節點
當前提交
f4584c51c5
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      Marlin/Marlin_main.cpp

+ 1
- 1
Marlin/Marlin_main.cpp 查看文件

@@ -5220,7 +5220,7 @@ void process_next_command() {
5220 5220
   while (*current_command_args == ' ') ++current_command_args;
5221 5221
 
5222 5222
   // Interpret the code int
5223
-  seen_pointer = current_command + 1;
5223
+  seen_pointer = current_command;
5224 5224
   codenum = code_value_short();
5225 5225
 
5226 5226
   // Handle a known G, M, or T

Loading…
取消
儲存