Browse Source

Merge pull request #2141 from thinkyhead/fix_command_parser_M110

Set seen_pointer before calling code_value
Scott Lahteine 10 years ago
parent
commit
8cba3bd811
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      Marlin/Marlin_main.cpp

+ 1
- 0
Marlin/Marlin_main.cpp View File

@@ -5220,6 +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 5224
   codenum = code_value_short();
5224 5225
 
5225 5226
   // Handle a known G, M, or T

Loading…
Cancel
Save