Browse Source

Tweak comment in process_next_command

pull/1/head
Scott Lahteine 9 years ago
parent
commit
711e5db19a
  1. 2
      Marlin/Marlin_main.cpp

2
Marlin/Marlin_main.cpp

@ -5692,7 +5692,7 @@ void process_next_command() {
// Sanitize the current command:
// - Skip leading spaces
// - Bypass N[0-9][0-9]*[ ]*
// - Bypass N[-0-9][0-9]*[ ]*
// - Overwrite * with nul to mark the end
while (*current_command == ' ') ++current_command;
if (*current_command == 'N' && ((current_command[1] >= '0' && current_command[1] <= '9') || current_command[1] == '-')) {

Loading…
Cancel
Save