Kaynağa Gözat

Tweak comment in process_next_command

Scott Lahteine 8 yıl önce
ebeveyn
işleme
711e5db19a
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1
    1
      Marlin/Marlin_main.cpp

+ 1
- 1
Marlin/Marlin_main.cpp Dosyayı Görüntüle

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

Loading…
İptal
Kaydet