Sfoglia il codice sorgente

Changed (corrected?) SD_card comment handling.

Erik van der Zalm 13 anni fa
parent
commit
21e2bae063
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 2
    2
      Marlin/Marlin.pde

+ 2
- 2
Marlin/Marlin.pde Vedi File

466
         return; //if empty line
466
         return; //if empty line
467
       }
467
       }
468
       cmdbuffer[bufindw][serial_count] = 0; //terminate string
468
       cmdbuffer[bufindw][serial_count] = 0; //terminate string
469
-      if(!comment_mode){
469
+//      if(!comment_mode){
470
         fromsd[bufindw] = true;
470
         fromsd[bufindw] = true;
471
         buflen += 1;
471
         buflen += 1;
472
         bufindw = (bufindw + 1)%BUFSIZE;
472
         bufindw = (bufindw + 1)%BUFSIZE;
473
-      }     
473
+//      }     
474
       comment_mode = false; //for new command
474
       comment_mode = false; //for new command
475
       serial_count = 0; //clear buffer
475
       serial_count = 0; //clear buffer
476
     }
476
     }

Loading…
Annulla
Salva