Browse Source

Tweak comment in process_next_command

Scott Lahteine 8 years ago
parent
commit
711e5db19a
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Marlin/Marlin_main.cpp

+ 1
- 1
Marlin/Marlin_main.cpp View File

5692
 
5692
 
5693
   // Sanitize the current command:
5693
   // Sanitize the current command:
5694
   //  - Skip leading spaces
5694
   //  - Skip leading spaces
5695
-  //  - Bypass N[0-9][0-9]*[ ]*
5695
+  //  - Bypass N[-0-9][0-9]*[ ]*
5696
   //  - Overwrite * with nul to mark the end
5696
   //  - Overwrite * with nul to mark the end
5697
   while (*current_command == ' ') ++current_command;
5697
   while (*current_command == ' ') ++current_command;
5698
   if (*current_command == 'N' && ((current_command[1] >= '0' && current_command[1] <= '9') || current_command[1] == '-')) {
5698
   if (*current_command == 'N' && ((current_command[1] >= '0' && current_command[1] <= '9') || current_command[1] == '-')) {

Loading…
Cancel
Save