Parcourir la source

Merge pull request #2141 from thinkyhead/fix_command_parser_M110

Set seen_pointer before calling code_value
Scott Lahteine il y a 10 ans
Parent
révision
8cba3bd811
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  1. 1
    0
      Marlin/Marlin_main.cpp

+ 1
- 0
Marlin/Marlin_main.cpp Voir le fichier

@@ -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

Chargement…
Annuler
Enregistrer