Browse Source

Merge pull request #2141 from thinkyhead/fix_command_parser_M110

Set seen_pointer before calling code_value
pull/1/head
Scott Lahteine 10 years ago
parent
commit
8cba3bd811
  1. 1
      Marlin/Marlin_main.cpp

1
Marlin/Marlin_main.cpp

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

Loading…
Cancel
Save