Sfoglia il codice sorgente

M30 response is missing linefeed, "ok" therefore not on own line

This leads to the command not being acknowledged properly
by the firmware, leading to consecutive issues in host software
waiting for an acknowledgement.
Gina Häußge 10 anni fa
parent
commit
0de826160e
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1
    1
      Marlin/cardreader.cpp

+ 1
- 1
Marlin/cardreader.cpp Vedi File

@@ -437,7 +437,7 @@ void CardReader::removeFile(char* name)
437 437
     if (file.remove(curDir, fname)) 
438 438
     {
439 439
       SERIAL_PROTOCOLPGM("File deleted:");
440
-      SERIAL_PROTOCOL(fname);
440
+      SERIAL_PROTOCOLLN(fname);
441 441
       sdpos = 0;
442 442
     }
443 443
     else

Loading…
Annulla
Salva