ソースを参照

Merge pull request #2219 from MagoKimbra/Cura_bug

Fix problem Width Cura
AnHardt 10年前
コミット
ca2dcff9d4
1個のファイルの変更1行の追加1行の削除
  1. 1
    1
      Marlin/Marlin_main.cpp

+ 1
- 1
Marlin/Marlin_main.cpp ファイルの表示

@@ -5170,7 +5170,7 @@ void process_next_command() {
5170 5170
   //  - Overwrite * with nul to mark the end
5171 5171
   while (*current_command == ' ') ++current_command;
5172 5172
   if (*current_command == 'N' && current_command[1] >= '0' && current_command[1] <= '9') {
5173
-    while (*current_command != ' ') ++current_command;
5173
+    while (*current_command != ' ' && *current_command != 'G' && *current_command != 'M' && *current_command != 'T') ++current_command;
5174 5174
     while (*current_command == ' ') ++current_command;
5175 5175
   }
5176 5176
   char *starpos = strchr(current_command, '*');  // * should always be the last parameter

読み込み中…
キャンセル
保存