Invert size and LFN in M20 L output
This commit is contained in:
parent
6d7d8c7c75
commit
b16e1e5235
@ -133,12 +133,14 @@ void CardReader::lsDive(const char *prepend, SdFile parent, const char * const m
|
|||||||
createFilename(filename, p);
|
createFilename(filename, p);
|
||||||
SERIAL_PROTOCOL(prepend);
|
SERIAL_PROTOCOL(prepend);
|
||||||
SERIAL_PROTOCOL(filename);
|
SERIAL_PROTOCOL(filename);
|
||||||
|
|
||||||
MYSERIAL.write(' ');
|
MYSERIAL.write(' ');
|
||||||
|
SERIAL_PROTOCOL(p.fileSize);
|
||||||
|
|
||||||
if (lsAction == LS_SerialPrint_LFN)
|
if (lsAction == LS_SerialPrint_LFN)
|
||||||
printf_P(PSTR(" \"%s\""), LONGEST_FILENAME);
|
printf_P(PSTR(" \"%s\""), LONGEST_FILENAME);
|
||||||
|
|
||||||
SERIAL_PROTOCOLLN(p.fileSize);
|
SERIAL_PROTOCOLLN();
|
||||||
manage_heater();
|
manage_heater();
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user