Put space between filename and size (fix M20 / lsDive)
Output longFilename if present.
This commit is contained in:
parent
f584a84b24
commit
69fb8d7013
|
|
@ -127,8 +127,12 @@ void CardReader::lsDive(const char *prepend, SdFile parent, const char * const m
|
|||
case LS_SerialPrint:
|
||||
createFilename(filename, p);
|
||||
SERIAL_PROTOCOL(prepend);
|
||||
SERIAL_PROTOCOL(filename);
|
||||
//SERIAL_PROTOCOLCHAR(' ');
|
||||
if (longFilename[0] != 0) {
|
||||
SERIAL_PROTOCOL(longFilename);
|
||||
} else {
|
||||
SERIAL_PROTOCOL(filename);
|
||||
}
|
||||
MYSERIAL.write(' ');
|
||||
SERIAL_PROTOCOLLN(p.fileSize);
|
||||
break;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue