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.
This commit is contained in:
Gina Häußge 2014-06-02 17:11:32 +02:00
parent c8d0ca9337
commit 0de826160e

View File

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